ndparker/rcssmin

Mangles URLs with spaces

Closed this issue · 1 comments

It you give the following css to cssmin

@import url('https://fonts.googleapis.com/css?family=Open Sans:700');"

it converts it to

@import url('https://fonts.googleapis.com/css?family=OpenSans:700');"

which messes up the font import.

Hi,

thanks for your report.
The behaviour is correct, though. Spaces in URLs need to be encoded (as %20).