From 5b28ee98d3c2d2ccda99112276e24728516a47df Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 13 Feb 2024 23:36:02 +0200 Subject: [PATCH] remove extra filters --- templates/default/room/index.html.twig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/templates/default/room/index.html.twig b/templates/default/room/index.html.twig index 89660c4..470dfcc 100644 --- a/templates/default/room/index.html.twig +++ b/templates/default/room/index.html.twig @@ -29,10 +29,7 @@ {% endif %} {# apply markdown whitelist filters only to prevent ping from remote includes #} {{ - post.message | striptags - | markdown_to_html - | striptags - | message_to_markdown + post.message | message_to_markdown | trim | nl2br | markdown_to_html