You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a couple of tests for this and was not able to get twig.js to load paths with trailing or leading whitespace if they did not exist. Something may have changed in the meantime to fix the issue. I will submit a PR tomorrow with the tests.
twig.js recognizes
{% include 'x.html ' %}
as meaning{% include 'x.html' %}
, but twig breaks on that extra whitespace.(Seems pretty clear to me that leniency is the right way to go, but until twig can handle it twig.js shouldn't)
The text was updated successfully, but these errors were encountered: