Open mmsaffari opened 4 years ago
When minifying CSS, if there are any parentheses in the URL of a file, e.g. a font, the minifier crashes with errors like this:
Expected expression, found ''' Unterminated string: '); Unterminated string: '), / IE6-8 / Unterminated string: '), / FF39+,Chrome36+, Opera24+/ Unterminated string: '), / FF3.6+, IE9, Chrome6+, Saf5.1+/ Unterminated string: ');
try to minify the attached CSS file. fontiran.zip
Does not minify a valid CSS.
The parentheses in the URL should cause no problems.
Installed product versions
Description
When minifying CSS, if there are any parentheses in the URL of a file, e.g. a font, the minifier crashes with errors like this:
Expected expression, found ''' Unterminated string: '); Unterminated string: '), / IE6-8 / Unterminated string: '), / FF39+,Chrome36+, Opera24+/ Unterminated string: '), / FF3.6+, IE9, Chrome6+, Saf5.1+/ Unterminated string: ');
Steps to recreate
try to minify the attached CSS file. fontiran.zip
Current behavior
Does not minify a valid CSS.
Expected behavior
The parentheses in the URL should cause no problems.