- Issue created by @luksak
This is a follow-up of
📌
Provide a template to customize the content of the notification mail
Needs review
. Before that MR was merged, there was a change so that the contents of the new theme commerce_stock_notifications_message
are being filtered using Twig. But this caused a regression for me. All HTML in commerce-stock-notifications-message.html.twig
is being escaped, meaning not only the variables such as $message
, but all HTML in the twig file.
In that issue, it is being mentioned that a workaround would be to use the |raw
filter, but i guess that only applies to the message from config, not the actual twig template.
I'm using symphony_mailer to send emails.
Active
1.0
Code