cssesc
cssesc copied to clipboard
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
How about the opposite function to unescape the escaped content?
**To Reproduce** cssesc(':src') **Expected** `\\:src` **Actual** `\:src` Note: The same issue is also reproducible in CSS.escape project.
Can this library provide a shouldEscape / isEscaped function for cases that you get an Identifier from user input and want to know if it should be escaped? This is...
Is there a library/technique which does the opposite - unescape CSS?
Bumps [codecov](https://github.com/codecov/codecov-node) from 1.0.1 to 3.7.1. Release notes Sourced from codecov's releases. v3.6.4 Fix for Cirrus CI v3.6.3 AWS Codebuild fixes + package updates v3.6.2 command line args sanitised v3.6.1...
In playground https://mothereff.in/css-escapes `♥` -> `♥` Using `cssesc` `♥` -> `\2665` I can send a PR, thanks for library
This badge will show the library latest version on CDNJS!
LICENSE-MIT.txt creates conflicts with some tools, LICENSE seems to be more uniform throughout github. Also, the license didn't match MIT license template in github, so i have update that little...
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,...