minify icon indicating copy to clipboard operation
minify copied to clipboard

Fixed issue with "url(""); ... any other css code .. url("file.jpg"); in one line

Open hscheffknecht opened this issue 5 years ago • 2 comments

For CSS files with url("") and any other url() within one line, the second file was ignored.

See https://regex101.com/r/IkhmxT/2

Sure, "url()" is invalid CSS syntax, but this should be ignored and other URLs in the same line should get handled correctly.

hscheffknecht avatar Aug 13 '20 14:08 hscheffknecht

please check for both ["] & ['] ; /url\((["']?)([^"']+?)\1\)/i

xerc avatar Sep 07 '21 13:09 xerc

Done

hscheffknecht avatar Mar 09 '22 20:03 hscheffknecht