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

Deferred blocks broken with twig/twig 3.9.0/3.9.1 #20

Open
fashxp opened this issue Apr 17, 2024 · 1 comment
Open

Deferred blocks broken with twig/twig 3.9.0/3.9.1 #20

fashxp opened this issue Apr 17, 2024 · 1 comment

Comments

@fashxp
Copy link

fashxp commented Apr 17, 2024

Template:

<html>

<body>
    {% block content deferred %}
        <h1>hello world</h1>
    {%  endblock %}
</body>

</html>

Error message:

image

example works with twig/twig < 3.9.0

see also twigphp/Twig#4026

@mike4git
Copy link

It also breaks with version 3.9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants