Open edemaine opened 3 years ago
String quotes should not be processed when inside JSX (HTML) blocks.
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):
.jsx
Actual behavior:
This is the highlighting I get:
Reproduces how often:
100%
1.54.0 x64 on Windows 10
I originally observed this issue in vscode (see https://github.com/microsoft/vscode/issues/117143).
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.
I just noticed https://github.com/crisward/cjsx which might be an approach to solving this issue.
Prerequisites
Description
String quotes should not be processed when inside JSX (HTML) blocks.
Steps to Reproduce
test.coffee
Type the following file content:
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 https://github.com/microsoft/vscode/issues/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.