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 · 3 comments
Open

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

fashxp opened this issue Apr 17, 2024 · 3 comments

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

@markus-moser
Copy link

Are there any plans to make this extension compatible with twig >= 3.9.0? Not sure if this is possible with the new architecture of twig...

@rybakit
Copy link
Owner

rybakit commented Aug 12, 2024

Are there any plans to make this extension compatible with twig >= 3.9.0?
Not sure if this is possible with the new architecture of twig...

@markus-moser To be honest, I haven't had the time to explore this fully yet. However, I'm open to contributions if anyone is willing to investigate and work on compatibility.

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

4 participants