atom-react icon indicating copy to clipboard operation
atom-react copied to clipboard

[BUG] Weird syntax highligting

Open andre0799 opened this issue 9 years ago • 2 comments

image

if I remove the .map it works

image

but then if I add anything else between brackets, it breaks again

image

andre0799 avatar Jul 05 '16 21:07 andre0799

I am facing another syntax highlighting bug with this code sample, using CJSX:

foo = <MyComponent description={descContent ? <em>N/A</em>} />

switch doc
  when 'foo'
    'Anything I write is not highlighted anymore'

The syntax highlighting is completely broken, as you can see: capture

whiver avatar Aug 17 '16 09:08 whiver

Getting a highlighting problem when I use a number with a letter or a double quote.

screen shot 2017-06-27 at 8 27 23 pm

missmellyg85 avatar Jun 28 '17 01:06 missmellyg85