diff --git a/src/Resources/views/default/flash_messages.html.twig b/src/Resources/views/default/flash_messages.html.twig index bfc2540848..e6f0a9ebed 100644 --- a/src/Resources/views/default/flash_messages.html.twig +++ b/src/Resources/views/default/flash_messages.html.twig @@ -3,7 +3,7 @@ {% for label, messages in app.session.flashbag.all %} {% for message in messages %}
- {{ message|trans }} + {{ message|trans|striptags }}
{% endfor %} {% endfor %}