Skip to content

Commit

Permalink
[TwigBridge] Fix raw content rendering in HTML notification emails
Browse files Browse the repository at this point in the history
  • Loading branch information
1ed committed Feb 16, 2023
1 parent be307e4 commit a8be6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/Email/zurb_2/notification/body.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{% if markdown %}
{{ include('@email/zurb_2/notification/content_markdown.html.twig') }}
{% else %}
{{ (raw ? content|raw : content)|nl2br }}
{{ raw ? content|raw : content|nl2br }}
{% endif %}
{% endblock %}

Expand Down

0 comments on commit a8be6ae

Please sign in to comment.