matthiasmullie / minify

CSS & JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.
https://matthiasmullie.github.io/minify/
MIT License
1.96k stars 310 forks source link

After generating in some cases it is adding slash "/" #423

Open miqayelsrapionyan opened 5 months ago

miqayelsrapionyan commented 5 months ago

I couldnt find the case, but after generating it is like this

linear-gradient(var(--color-primary-color-custom / rgba(221,23,160,1)),var(--color-primary-color-custom,rgb(221 23 160)))

another example i have this one that is not broken

border-color:var(--color-8,rgb(0 0 0));

and this one that is broken, in same file

color:var(--color-8 / rgba(0,0,0,1));

I tried to repreduce with original data, but didont succed, i dont know why i got this on my stage environement but not local. Both are latest version.

Thanks!

Here are full files generated_css.zip