{% extends 'email/layout.html.twig' %} {# Every string on `text` was escaped by App\Email\EmailTextRenderer before the ,

and tags in it were introduced, which is what makes |raw safe here. Do not pass anything into this template that did not come out of that renderer. The closing button is rendered by the layout. #} {% block body %} {% if text.headline is not empty %}

{{ text.headline | raw }}

{% endif %} {{ text.bodyHtml | raw }} {% endblock %}