We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the issue
Starting from hljs 10.7.0, switch statement is highlighted differently from other statements (if, while, for).
switch
if
while
for
Which language seems to have the issue?
C++
Are you using highlight or highlightAuto?
highlight
highlightAuto
highlightAll
Sample Code to Reproduce
Version 11.2.0: https://jsfiddle.net/exypdun8/
Version 10.7.0: https://jsfiddle.net/skwoep65/
Version 10.6.0: https://jsfiddle.net/2hLpg9b6/
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the issue
Starting from hljs 10.7.0,
switch
statement is highlighted differently from other statements (if
,while
,for
).Which language seems to have the issue?
C++
Are you using
highlight
orhighlightAuto
?highlightAll
Sample Code to Reproduce
Version 11.2.0:
https://jsfiddle.net/exypdun8/
Version 10.7.0:
https://jsfiddle.net/skwoep65/
Version 10.6.0:
https://jsfiddle.net/2hLpg9b6/
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: