Closed norcino closed 2 years ago
Not a bug, it looks like this is the behaviour by design, to address this issue I used the following:
var cssSettings = new CssSettings();
cssSettings.DecodeEscapes = false;
var minifiedCss = NUglify.Uglify.Css(css, cssSettings);
Your workaround should arguably be the default, not going to break everyone's world by flipping this though
I tested with the latest version of the code here in master.
Describe the bug The minification produces the wrong result when an input is provided with HEX character value
To Reproduce
Minified output or stack trace .something: before{content:"?"}
Excepted output code .something: before{content:"\E900"}