pyjade icon indicating copy to clipboard operation
pyjade copied to clipboard

unexpected indent regression

Open James1345 opened this issue 9 years ago • 2 comments

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

James1345 avatar Jun 22 '15 13:06 James1345

I'm experiencing the same problem. I went back to 3.0.0 and everything is fine.

Mibou avatar Aug 14 '15 08:08 Mibou

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/ ) .

Mibou avatar Aug 14 '15 08:08 Mibou