Problem with apostrophes in JSX code


#1

See attached screenshot.
This is working react es6 code. I have an element in there with text in it and in the text there’s an apostrophe.

Is this a bug or am I doing things wrong?


#2

Probably the language-javascript package doesn’t support JSX formatting. https://atom.io/packages/language-javascript-jsx might provide better results.


#3

Uh! I just opened the file again to test something and now it works.


#4

Note. I did not install anything to make it work. I already had react installed as a package.