HarlemSquirrel / language-haml

Haml language grammar for GitHub's Atom IDE
MIT License
33 stars 24 forks source link

Fix attribute quoted string highlighting #50

Closed doryphores closed 9 years ago

doryphores commented 9 years ago

When using the parenthesis syntax instead of curly braces for html attributes, quoted strings highlighting is broken when the string contains quote. For example:

screen shot 2015-11-11 at 15 05 25

You can see that the single quote in the placeholder attribute is breaking the highlighting.

Let me know if there is a more elegant way to fix this as I had to duplicate the quoted string rule.

ezekg commented 9 years ago

Nice catch. Thanks for the pull request.

ezekg commented 9 years ago

New version is published. :+1:

doryphores commented 9 years ago

Wow, that was fast! Thanks! :smile:

ezekg commented 9 years ago

Haha well you did all the work. But no problem. Thanks for the fix.