Skip to content

Conversation

@MorphCodeBot
Copy link
Collaborator

This PR fixes a regression in CSS inline comment highlighting that was introduced in version 10.6.0.

Changes:

  • Added hljs.C_BLOCK_COMMENT_MODE to the contains array in the attribute value section
  • Positioned it between STRINGS spread and url/data-uri block

Before:

  • Inline CSS comments within property values were not being highlighted
  • This affected code using the new highlightAll API introduced in 10.6.0

After:

  • CSS comments are now properly highlighted within property values
  • Restores the expected behavior that was present in version 10.5.0

Testing:

  • Verified using the provided test cases in the issue
  • Confirms proper highlighting of inline comments in CSS property values

Additional ticket processing details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants