From 1436f7ecd1c7fca7204dbe95ef1e082d31b39728 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 8 Dec 2023 01:39:35 +0200 Subject: [PATCH] remove extra paragraphs as defined by markdown_to_html filter, add line break only --- templates/default/room/index.html.twig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/default/room/index.html.twig b/templates/default/room/index.html.twig index 606ff47..10178a9 100644 --- a/templates/default/room/index.html.twig +++ b/templates/default/room/index.html.twig @@ -34,9 +34,8 @@ {% endif %} -

- {{ post.message | message_to_markdown | markdown_to_html }} -

+
+ {{ post.message | message_to_markdown | markdown_to_html }} {% endfor %}