language-pug icon indicating copy to clipboard operation
language-pug copied to clipboard

[v2.0.1] cannot declare variable without leading dash

Open aleclarson opened this issue 7 years ago • 0 comments

In test/test.jade, you have:

_test  =  [{abc: "lalal"}]
name = function() {}

..which now compiles to:

<_test> =  [{abc: "lalal"}]</_test>
<name>= function() {}</name>

..in pug v2.0.1

aleclarson avatar Mar 08 '18 23:03 aleclarson