Skip to content

Commit 62d14c1

Browse files
committed
Address deprecation of spaceless tag
Since Twig 2.7, the spaceless tag is deprecated in favor of the spaceless filter, or the apply tag with a spaceless argument. I picked the latter so as to still benefit from syntax highlighting.
1 parent 86aa1e7 commit 62d14c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% spaceless %}
1+
{% apply spaceless %}
22
<div class="contents">
33
{% include "body/menu/menu-level.html.twig" %}
44
</div>
5-
{% endspaceless %}
5+
{% endapply %}

0 commit comments

Comments
 (0)