winter
winter copied to clipboard
Broken default email layout after upgrading to Twig 3.9.1
Winter CMS Build
1.2
PHP Version
8.1
Database engine
MySQL/MariaDB
Plugins installed
No response
Issue description
Hi,
After upgrading to Twig 3.9.1 from 3.8.0, I noticed that the footer in the default email layout is broken. The title too.
Before upgrade:
After:
I made no changes to the email layout. What could be the problem?
The email partial is the following:
==
<p>{{ content }}</p>
{% if additional_data is not empty %}
<p>Informazioni aggiuntive:<br>{{ additional_data }}</p>
{% endif %}
Thanks.
Steps to replicate
Read above
Workaround
No response
The maintenance team is aware. See these: https://github.com/wintercms/storm/commit/faf49137344e9bff44b995adb35ff0a7633e7d65 https://github.com/wintercms/winter/commit/d9eaf58eacaf821471779caa7e9833846caacd38 https://github.com/wintercms/winter/pull/1102
For now just lock your twig version to 3.8