8000 (CSS) `unicode-range` keyword not supported · Issue #4253 · highlightjs/highlight.js · GitHub
[go: up one dir, main page]

Skip to content
(CSS) unicode-range keyword not supported #4253
8810
Open
@kshetline

Description

@kshetline

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0