Skip to content

Conversation

@MorphCodeBot
Copy link
Collaborator

Fixed an issue where inline block comments within CSS property values were not being properly highlighted. This was a regression introduced in version 10.6.0.

Changes:

  • Added hljs.C_BLOCK_COMMENT_MODE to the contains array in the attribute values section
  • This allows for proper highlighting of /* */ style comments within CSS property values

Before:

  • Block comments within property values were not properly highlighted
  • This affected code using the new highlightAll API introduced in 10.6.0

After:

  • Block comments are now correctly highlighted in all contexts
  • Behavior now matches what was present in version 10.5.0

Tested:

  • Verified fix with provided test cases
  • Confirmed 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