Skip to content

Broken default email layout after upgrading to Twig 3.9.1 #1103

@goldmont

Description

@goldmont

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reviewIssues/PRs that require a review from a maintainer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions