davidrios / jade-tmbundle

A comprehensive textmate / sublime text bundle for the Jade template language.
https://github.com/davidrios/jade-tmbundle
MIT License
102 stars 31 forks source link

invalid & (ampersand) in an unescaped attribute value string #11

Closed falcondai closed 11 years ago

falcondai commented 11 years ago

currently i think ampersands by themselves within an attribute value string are indiscriminately rendered as invalid. Consider:

a(href!='https://www.google.com/search?hl=en&gl=us&tbm=nws&q=google') Google news search

string literal behind != should be treated as unescaped.

The corresponding jade language spec is here: https://github.com/visionmedia/jade/issues/198

falcondai commented 11 years ago

i must be using some other version of Jade tmbundle. I don't see the same issue with your current version, so i am closing the issue. Sorry for the confusion.