Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken default email layout after upgrading to Twig 3.9.1 #1103

Closed
goldmont opened this issue Apr 18, 2024 · 2 comments
Closed

Broken default email layout after upgrading to Twig 3.9.1 #1103

goldmont opened this issue Apr 18, 2024 · 2 comments
Labels
needs review Issues/PRs that require a review from a maintainer

Comments

@goldmont
Copy link

goldmont commented Apr 18, 2024

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:
image

After:
image

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

@goldmont goldmont added needs review Issues/PRs that require a review from a maintainer Type: Unconfirmed Bug labels Apr 18, 2024
@josephcrowell
Copy link
Contributor

The maintenance team is aware.
See these:
wintercms/storm@faf4913
d9eaf58
#1102

@LukeTowers
Copy link
Member

For now just lock your twig version to 3.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issues/PRs that require a review from a maintainer
Projects
None yet
Development

No branches or pull requests

4 participants