From dc92ef84e48562980c24738aa122bd7e4d81d084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Wed, 13 Mar 2019 18:43:20 +0100 Subject: [PATCH] Correctly interpret the comment newlines as html breaks. --- templates/show_part_info.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/show_part_info.html.twig b/templates/show_part_info.html.twig index 8d718148..a4e9db35 100644 --- a/templates/show_part_info.html.twig +++ b/templates/show_part_info.html.twig @@ -47,7 +47,7 @@ {% if part.comment != "" %}
- {{ part.comment }} + {{ part.comment|nl2br }}
{% endif %}