fix message format filters

This commit is contained in:
ghost 2023-12-08 20:54:26 +02:00
parent 8d3a763c2d
commit efa4d08ada

View File

@ -36,13 +36,13 @@
{% endif %}
{# apply markdown whitelist filters only to prevent ping from remote includes #}
{{
post.message | trim
| striptags
post.message | striptags
| markdown_to_html
| striptags
| message_to_markdown
| markdown_to_html
| trim
| nl2br
| markdown_to_html
}}
</li>
{% endfor %}