Browse Source

fix message format filters

main
ghost 7 months ago
parent
commit
efa4d08ada
  1. 6
      templates/default/room/index.html.twig

6
templates/default/room/index.html.twig

@ -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 %}

Loading…
Cancel
Save