feat: markdown in email body for mailing and transactional
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{% extends 'email/layout.html.twig' %}
|
||||
|
||||
{# Everything on `bodyHtml` was escaped by App\Email\MailBodyRenderer before any tag was
|
||||
introduced, which is what makes |raw safe here - same contract as email/generic.html.twig.
|
||||
Do not pass anything into this template that did not come out of that renderer. #}
|
||||
{% block body %}
|
||||
<p>
|
||||
{{ message | nl2br }}
|
||||
</p>
|
||||
{{ bodyHtml | raw }}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user