From 4675f65437de31d4162bf1d7b389f6ebd2a22b13 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Fri, 19 Apr 2024 15:05:49 +0000 Subject: [PATCH] Correctly display newlines in scheduled messages --- templates/fediplan/Ajax/layout.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/fediplan/Ajax/layout.html.twig b/templates/fediplan/Ajax/layout.html.twig index 5552fc4..eddd89d 100644 --- a/templates/fediplan/Ajax/layout.html.twig +++ b/templates/fediplan/Ajax/layout.html.twig @@ -14,7 +14,7 @@ {% if status.spoilerText is defined %} {{ status.spoilerText }}
{% endif %} - {{ status.content }} + {{ status.content | nl2br }}

@@ -40,4 +40,4 @@ -{% endfor %} \ No newline at end of file +{% endfor %}