I used an ascii art generator and it gave me an output in HTML. I then used a HTML to JSX converter and it gave me an output, which I put in a div in JSX. When it compiles it gives an error of
Syntax error: Invalid identifier @@XSXX. (33:5287) (33:5287)
That line is
<span style={{color: '#000', backgroundColor: '#555'}}>@@XSXX</span>
It only seems to happen on chunks containing '@@'. Does this have some custom behaviour in react (JSX) and how can I fix this? It is not the first chunk.