Prerequisites
Description
String quotes should not be processed when inside JSX (HTML) blocks.
Steps to Reproduce
-
Create a file test.coffee
-
Type the following file content:
<code>
Hello world's
this is some {'text'}
</code>
Expected behavior:
This is the highlighting I expect, which is what I get when using JavaScript highlighting (.jsx extension):

Actual behavior:
This is the highlighting I get:

Reproduces how often:
100%
Versions
1.54.0 x64 on Windows 10
I originally observed this issue in vscode (see microsoft/vscode#117143).
Additional Information
I'm new to these JSON syntax files, but given that it works in JavaScript, I imagine it is possible (and hopefully easy?) to fix.
Related issue: #135. But I think that should be closed, because #172 merged.
Prerequisites
Description
String quotes should not be processed when inside JSX (HTML) blocks.
Steps to Reproduce
Create a file
test.coffeeType the following file content:
Expected behavior:
This is the highlighting I expect, which is what I get when using JavaScript highlighting (
.jsxextension):Actual behavior:
This is the highlighting I get:
Reproduces how often:
100%
Versions
1.54.0 x64 on Windows 10
I originally observed this issue in vscode (see microsoft/vscode#117143).
Additional Information
I'm new to these JSON syntax files, but given that it works in JavaScript, I imagine it is possible (and hopefully easy?) to fix.
Related issue: #135. But I think that should be closed, because #172 merged.