creationix / haml-js

Haml ported to server-side Javascript. This is a traditional server-side templating language. Tested with node-js
MIT License
902 stars 110 forks source link

eol-style (//) comments in embedded js are not handled correctly #56

Open costa opened 12 years ago

costa commented 12 years ago

...and effectively break the template.

hint:

; _$output = _$output  +
""
aaronblohowiak commented 12 years ago

would definitely accept a patch to fix this.

ilich commented 12 years ago

I fixed the issue. Please complete my Pull Request with the change.