See the screenshot below. I get no errors when I open the page in chrome and run the script and the text displays as expected. In Atom, the text is highlighted red. I see no syntax errors. The image shows soft wrapping - everything is on one line - there are no carriage returns or odd line endings (I have invisible characters set to visible).
I guess I could be missing something syntactical but I have no idea what it is.
Maybe this is some sort of Atom bug?
Anyone have any ideas about this?
Is there a way to just turn off the highlighting? I have browsed through the settings but I’m not seeing it.