-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
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
Classes hljs-attribute
vs hljs-attr
mismatch
#1472
Comments
There was a huge overhaul of the style rules for 9.0, and the change you're describing is an intentional decision. We now have both Having said that, if you want to advocate Tomorrow in particular should have a different color for "attr", we should pick a color that doesn't break other usages of this class name in [crmsh fix gcode haml htmlbars ini javascript json nix puppet xml yaml]. |
Closing this:
Trying to clear out old issues. |
highlight.js
used to appendhljs-attribute
class in the past, but now it'shljs-attr
. Unfortunately styles are not updated to match that. I've spotted it after migrating from 8.1 to 9.10.See
https://github.com/isagalaev/highlight.js/blob/master/src/languages/xml.js#L14
and
https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night.css#L37
The text was updated successfully, but these errors were encountered: