Closed mathiasschopmans closed 9 years ago
I ran some tests here and concluded that it's an incompatibility with the ReactJS package. You have it installed right? It seems the ReactJS package replaces the source.js
context, and is used instead of the original JavaScript highlighter. If you create a new file, select the ReactJS > JavaScript (JSX) highlighter and try the same code you can confirm it's a bug there. A workaround I found is to add a space after the <
character.
Good catch. You're totally right. I removed the React package and it works as expected. Thanks for investigating in this bug!
No problem. Luckily I also had the ReactJS package installed and so was able catch the bug.
Just try the following markup:
Here's what it looks like in Sublime: