pyjade
pyjade copied to clipboard
unexpected indent regression
Using django 1.8.2, python 3.4.2. Works fine when installing from commit 74e16e748eaf16957b6892476b49589787e23758
Recently did a fresh install from latest (49f35380c38cd1e7f95995dd16df84b3773c5903) started to get an error on a previously working page (unexpected token “indent” in jade file). Rolled back and it started working again
I'm experiencing the same problem. I went back to 3.0.0 and everything is fine.
Ok, I got it, in the new version according to PRs #173 and #194 , to conform to Jade's normal implementation, you have to put script.
or script(type='text/javascript').
as defined in http://jade-lang.com/ (also see http://jade-lang.com/reference/plain-text/ ) .