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.
Looks like the regex's in cleanupModernColors are a bit too eager and run past the closing parenthesis. Perhaps it would be enough to replace [^\s] with [^\s)], though I'm not quite sure about that.
Version tested: 1.3.73
Looks like decimals cause something to go wrong when processing an rgb() function with decimal numbers in legacy format.
Almost self-sufficient example:
This outputs:
The second output (BAD) is obviously not correct.
As far as I can see the decimals are valid in CSS, also in the legacy rgb syntax.