From 0b77a5d17151a2b9267cc0c5a1556931eabe560b Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 26 Oct 2023 05:52:08 +0300 Subject: [PATCH] add line break support for torrent comments --- templates/default/torrent/info.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default/torrent/info.html.twig b/templates/default/torrent/info.html.twig index 24510e8..e3f7251 100644 --- a/templates/default/torrent/info.html.twig +++ b/templates/default/torrent/info.html.twig @@ -219,7 +219,7 @@ {{ 'Comment' | trans }} - {{ file.comment }} + {{ file.comment | nl2br }} {% endif %}