From e2aa6bcdbb24e5e4c91c6b9eb488b3ce2b44a049 Mon Sep 17 00:00:00 2001 From: d1ff1cult0 Date: Sun, 6 Oct 2024 19:37:11 +0200 Subject: [PATCH] HTML tags in cudi messages will now be rendered correctly --- module/CommonBundle/Resources/views/common/index/index.twig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/CommonBundle/Resources/views/common/index/index.twig b/module/CommonBundle/Resources/views/common/index/index.twig index e3e9a9f9ef..898c2c3c7e 100644 --- a/module/CommonBundle/Resources/views/common/index/index.twig +++ b/module/CommonBundle/Resources/views/common/index/index.twig @@ -248,7 +248,10 @@

Cudi - {{ translate('Opening Hours') }}

{% for message in cudi.messages %} -
{{ message.getContent(language) }} +
+ {% autoescape false %} + {{ message.getContent(language) }} + {% endautoescape %}
{% endfor %}