We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I try to explain the bug as unit test that will fail:
Given following directory structure
images/me.svg views/my_template.jade
Given the template name starts with a leading slash (e.g. "/views/my_template" )
Given my template uses some include statement with correct relative path, like
include ../images/me.svg
When the template is parsed
Then the inclusion is expected to succeed.
The pseudo test above fails, because the resource loader tries to find the resource as "views/images/me.svg" instead of "images/me.svg".
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
I try to explain the bug as unit test that will fail:
Given following directory structure
Given the template name starts with a leading slash (e.g. "/views/my_template" )
Given my template uses some include statement with correct relative path, like
When the template is parsed
Then the inclusion is expected to succeed.
Actual Behavior
The pseudo test above fails, because the resource loader tries to find the resource as "views/images/me.svg" instead of "images/me.svg".
The text was updated successfully, but these errors were encountered: