You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched and didn't find this bug and its solution. I'm using html-minifier-terser and this bug happened inside it, this library is using clean-css version 4.2.3 and inside this when we are using *:not(div *) selector, after minifying it transform to this *:not(div*) and because div* --there is no space between v and *-- has no meaning for any kind of browsers, whole the css system faced error and no css is existed in system.
finally, be nice and have fun!
Environment
clean-css version - npm ls clean-css: 4.2.3
node.js version - node -v: 16.3.0
operating system: macOS big sur
Configuration options
varCleanCSS=require('clean-css');newCleanCSS({});
No config. all configuration is on default settings.
Input CSS
*:not(div*) {
color: red;
}
Actual output CSS
:not(div*){color:red}
Expected output CSS
:not(div*){color:red}
The text was updated successfully, but these errors were encountered:
Explanation
I have searched and didn't find this bug and its solution. I'm using
html-minifier-terser
and this bug happened inside it, this library is usingclean-css
version4.2.3
and inside this when we are using*:not(div *)
selector, after minifying it transform to this*:not(div*)
and becausediv*
--there is no space betweenv
and*
-- has no meaning for any kind of browsers, whole the css system faced error and no css is existed in system.Environment
npm ls clean-css
: 4.2.3node -v
: 16.3.0Configuration options
No config. all configuration is on default settings.
Input CSS
Actual output CSS
Expected output CSS
The text was updated successfully, but these errors were encountered: