Thanks to visit codestin.com
Credit goes to github.com

Skip to content

(CSS) unicode-range keyword not supported #4253

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

Open
kshetline opened this issue May 5, 2025 · 0 comments
Open

(CSS) unicode-range keyword not supported #4253

kshetline opened this issue May 5, 2025 · 0 comments
Labels
bug help welcome Could use help from community language

Comments

@kshetline
Copy link

Describe the issue

CSS unicode-range is not recognized, and subsequent range values are badly parsed.

Which language seems to have the issue?

CSS

Are you using highlight or highlightAuto?

highlight

Sample Code to Reproduce

@font-face {
  font-family: DroidSans;
  src: url(DroidSans.ttf);
  unicode-range: U+000-5FF, U+1e00-1fff, U+2000-2300;
}

Gets highlighted this way:

Image

Expected behavior

More like the way GitHub shows the code above.

@kshetline kshetline added language bug help welcome Could use help from community labels May 5, 2025
kshetline added a commit to kshetline/highlight.js that referenced this issue May 6, 2025
kshetline added a commit to kshetline/highlight.js that referenced this issue May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help welcome Could use help from community language
Projects
None yet
Development

No branches or pull requests

1 participant