CleanCSS icon indicating copy to clipboard operation
CleanCSS copied to clipboard

URLs (both quoted and unquoted) break on parse

Open alexweinstein opened this issue 8 years ago • 2 comments

This: background-image:url(http://example.com/image.png);

is reformatted to this: background-image:url(http : //example.com/image.png);

alexweinstein avatar Nov 04 '16 14:11 alexweinstein

I believe the quotes are optional: http://stackoverflow.com/questions/2168855/is-quoting-the-value-of-url-really-necessary

alexweinstein avatar Nov 04 '16 15:11 alexweinstein

Yup, you are right. I actually thought I was commenting on another project of mine. Sorry for the confusion.

stolksdorf avatar Nov 04 '16 15:11 stolksdorf