Skip to content

Fixed spaceless block for Twig 3 - #36

Merged
norberttech merged 1 commit into
norberttech:5.xfrom
verheyenkoen:patch-1
Mar 2, 2021
Merged

Fixed spaceless block for Twig 3#36
norberttech merged 1 commit into
norberttech:5.xfrom
verheyenkoen:patch-1

Conversation

@verheyenkoen

Copy link
Copy Markdown
Contributor

As of Twig 3 {% spaceless %} cannot be used inside a {% block %}. This needs to be changed to {% apply spaceless %} resp. {% endapply %}. (https://twig.symfony.com/doc/3.x/filters/spaceless.html)

As of Twig 3 `{% spaceless %}` cannot be used inside a `{% block %}`. This needs to be changed to `{% apply spaceless %}` resp. `{% endapply %}`. (https://twig.symfony.com/doc/3.x/filters/spaceless.html)
@norberttech
norberttech merged commit 8e06d42 into norberttech:5.x Mar 2, 2021
@norberttech

Copy link
Copy Markdown
Owner

Hey, thanks for this contribution!

@verheyenkoen
verheyenkoen deleted the patch-1 branch March 2, 2021 09:27
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

Successfully merging this pull request may close these issues.

2 participants