From e6e7e960f469da0fd27f7f28b9d05606658f9e26 Mon Sep 17 00:00:00 2001 From: Krister Haverinen Date: Thu, 19 Oct 2023 13:49:49 +0300 Subject: [PATCH] UHF-9068: Change visiblity to allow image without caption --- templates/module/helfi_tpr/tpr-service.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/module/helfi_tpr/tpr-service.html.twig b/templates/module/helfi_tpr/tpr-service.html.twig index 1682c6dde..f9efc216e 100644 --- a/templates/module/helfi_tpr/tpr-service.html.twig +++ b/templates/module/helfi_tpr/tpr-service.html.twig @@ -27,7 +27,7 @@ {% endif %} - {% if content.field_content|render|striptags|trim is not empty %} + {% if content.field_content|render is not empty %}
{{ content.field_content }}