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
deniskovalchuk
changed the title
(CSS) Inline comments are not highlighted correctly
(CSS) Inline comments are not highlighted correctly (regression between 10.5.0 and 10.6.0)
Aug 2, 2021
Describe the issue
Inline comments are not highlighted correctly starting from hljs 10.6.0 (new
highlightAll
API).Which language seems to have the issue?
CSS
Are you using
highlight
orhighlightAuto
?highlightAll
Sample Code to Reproduce
Version 11.1.0 (using
highlightAll
):https://jsfiddle.net/7eu8pdkx/
Version 10.5.0 (using
initHighlighting
):https://jsfiddle.net/3brz5gk9/
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: