vaadin / sass-compiler

A Java Sass compiler implementation
53 stars 25 forks source link

Quotes get removed from url() even if the URL has spaces #312

Open danipran opened 7 years ago

danipran commented 7 years ago

E.g. url("foo bar"); becomes url(foo bar); which in turn results in broken CSS.

I first faced this problem when using custom fonts with the Valo Theme (using the Bourbon font-face mixin) and used a space in the font-family name. This causes the font-face to not load at all (at least in Chrome and Firefox, IE blissfully ignores the rules) because the SVG-format font has a # on its URL.

Suggestions: