Conversation
|
I confirmed that at least one extension is broken, and added a test case. I have merged this locally and will re-issue a new PR with test-cases/fixes. |
|
Changed mixin test(a)
if a
block
else
block |
4a76e8a to
eb84811
Compare
|
Since there are no updates to pyjade and its successor recently was deleted from pypi, I took the liberty to revive it: https://github.com/kakulukia/pypugjs Version 5.0.1 has fixed the incompatibility with recent Django versions. I have never really worked with mixins so far because i found no clever way of using them in extended templates and thus keep using partials instead. I'd be happy to include this fix in a new release tho if you resubmit the PR to my repo. |
Tag interpolation [jade issue] [jade commit]
Also fix a bug in
ext/html.pyIf
arg_valuesis a string, thenlocal_contextwill map the parameters into the characters of the string instead of the string value.