Skip to content

scanner: decode CSS escaped code points - #27

Open
team-humaki wants to merge 1 commit into
gorilla:mainfrom
team-humaki:scanner-unescape-code-points
Open

team-humaki wants to merge 1 commit into
gorilla:mainfrom
team-humaki:scanner-unescape-code-points

Conversation

@team-humaki

Copy link
Copy Markdown

Token values now apply CSS Syntax "consume an escaped code point", so hex escapes (\72 ed → red) and escaped characters decode instead of staying as raw source text. Zero, surrogate, and out-of-range code points become U+FFFD. String/URI line continuations drop the escaped newline.

Fixes #14

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doesn't support escaped code points?

1 participant