-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Variable in {include} #26
Comments
That is not a bug, because space is an argument delimiter. But the error is really misleading. |
It would be better to promote/use {include "$themeDir/components/confirmDelete.latte"} OT rixxi/template-locator might be useful for organizing templates and themes without variables like |
Space is really argument delimiter, but argument cannot begins with |
This commit should fix concatenation with spaces in all macros (not only in include macro). |
@dg what do you think about it? |
Concatenation refactored |
Hi,
I'm not sure if it is bug, but I have two same codes but each is compiled differently
First {include} returns error syntax error, unexpected '.', expecting ')'
Compilated code:
Second include works OK
The only difference is in spaces before and after . (dot)
The text was updated successfully, but these errors were encountered: