rbtech / css-purge

A CSS tool written in Node JS as a command line app or library for the purging, burning, reducing, shortening, compressing, cleaning, trimming and formatting of duplicate, extra, excess or bloated CSS.
http://rbtech.github.io/css-purge
MIT License
125 stars 19 forks source link

Invalid CSS Syntax after purge #72

Open Irtiza90 opened 1 year ago

Irtiza90 commented 1 year ago

Here i give input, which is valid CSS

h6 {
  font-family: niveau-grotesk-medium, sans-serif !important;
}

after purging it is converted to this, which is invalid

h6 {
  font-family: niveau-grotesk-medium, "sans-serif!important";
}

i tried changing the input to this to prevent the error, and apparently that's invalid

font-family: niveau-grotesk-medium, "sans-serif" !important;