-
Notifications
You must be signed in to change notification settings - Fork 714
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
Extending templates with full paths needs escaping #299
Comments
Redacted, going to try something first. Possible issue with needing to add slashes to my path. |
Yes, it was my fault
vs
vs
|
…emplate resource name in single quotes #299
No it was not your fault. It was a bug that the parameter was passed to _subTemplateRender() in double quotes. |
Perfect, I've implemented a pre-filter that lets me define a PHP 5.5+ due to empty() function syntax
|
See the extendsall resource in the demo folder. It does walk trough the template_dir array and loads all templates with same name. |
Developing under Windows, when I use a full path in
{extends}
the compiled template looks like this:the problem is the
\t
in\templates
is being treated as a tab characternow, above in the compiled template I can see slash being escaped properly
Can this same escaping please be applied to this
_subTemplateRender()
syntaxThe text was updated successfully, but these errors were encountered: