You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When a string contains /* (which is common in configurations with glob matching), only the directly next line comment directive gets properly highlighted.
If a block comment is inserted somewhere, however, the subsequent line comments are parsed correctly again.
Example
(I am using the vscode-dark theme provided by prism-react-renderer)
The text was updated successfully, but these errors were encountered:
Josh-Cena
changed the title
JS Highlighting: '/*' in string still parsed as comment
JS Highlighting: '/*' in string disrupts comment highlighting
Aug 11, 2021
Information:
prism-react-renderer
)Description
When a string contains
/*
(which is common in configurations with glob matching), only the directly next line comment directive gets properly highlighted.If a block comment is inserted somewhere, however, the subsequent line comments are parsed correctly again.
Example
(I am using the vscode-dark theme provided by
prism-react-renderer
)The text was updated successfully, but these errors were encountered: