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 %} {% endif %}
{# apply markdown whitelist filters only to prevent ping from remote includes #} {# apply markdown whitelist filters only to prevent ping from remote includes #}
{{ {{
post.message | trim post.message | striptags
| striptags
| markdown_to_html | markdown_to_html
| striptags | striptags
| message_to_markdown | message_to_markdown
| markdown_to_html | trim
| nl2br | nl2br
| markdown_to_html
}} }}
</li> </li>
{% endfor %} {% endfor %}