Commit 1ebcd53
Includes additional twig syntax featires (#1367)
"from," "import" and "use" are both twig built-in, and uses the same techniques as include, embed etc when resolving template names.
Some twig templates use {%- ... -%} syntax that gobble up the whitespace on each side. This change ensures that this syntax is understood when looking for partials.
Co-authored-by: Josef Bredreck <13408112+JosefBredereck@users.noreply.github.com>1 parent 7c66f8a commit 1ebcd53
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments