iuyoy/highlight-string-code

Closing js tag not working

Closed this issue · 6 comments

It looks like the end tag for javascript highlighting (!js) is not working correctly.

See this screenshot:
image

iuyoy commented

Confirmed, thank you for pointing that, I will add SPACE in pattern in next version.

Are you saying that it is because of the space between // and !js? Actually that's not the problem, because also with that space, it is still not working:
image

iuyoy commented

I mean the spaces in front of //!js.

Thanks for your reply. with //!js at the beginning of the line it is working indeed! I assume that you will also implement this for they other selectors?

iuyoy commented

Yes, I should check all patterns. Thank you for your suggestions.

iuyoy commented

Fixed in v0.4.4.