ejs-grammar
ejs-grammar copied to clipboard
Fix incorrect negative lookahead pattern
seems like you had based the syntax on a jsdoc syntax and missed this? idk. anyways, this works.
I finally fixed my issues with the following gist: https://gist.github.com/forivall/d6a1fbc1ca902670ad51973b974ac177 - does what #71 does, although it doesn't highlight the html, but that's good enough for me.
@forivall I know this is really late. Sorry! Can you show me the output of both versions so that I can see exactly what this fixes?
Looking at the old code i was working on, it looks like the situation was ejs inside of an html attribute - for example:
<a href="<%= data.link.url %>">some text here, will still be "javascript" scope without this change</a> still javascript here