Skip to content

Commit dd027dc

Browse files
authored
Issue #3527810 by alan.cole: Fix for striptags error on webform message. (#1390)
1 parent 1f39cb7 commit dd027dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/themes/contrib/civictheme/templates/misc/status-messages.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
{% for message in messages %}
99
{% include 'civictheme:message' with {
1010
title: status_headings[type] ? status_headings[type] : type|capitalize,
11-
description: message,
12-
type: type == 'status' ? 'information' : type,
11+
description: message|render,
12+
type: (type == 'status' or type == 'info') ? 'information' : type,
1313
} only %}
1414
{% endfor %}
1515
{% endfor %}

0 commit comments

Comments
 (0)