Skip to content

cssesc always escapes identifier characters above U+00A0 #8

@Jessidhia

Description

@Jessidhia

As is not demonstrated by the online demo at https://mothereff.in/css-escapes.

If a @charset "utf-8"; directive is present in the input, or an appropriate option is set in the options object, it would be nice to be able to preserve characters that don't need to be escaped.

The CSS 2.1 spec allows identifiers to contain characters above U+00A0, and at least CSS 2.0 allowed characters "161 and higher".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions