node-sass icon indicating copy to clipboard operation
node-sass copied to clipboard

Render issue with empty background url

Open su27 opened this issue 10 years ago • 1 comments

When I try to render something with empty background url, the result seems to be broken with an extra url( prepended:

> sass.render({'data': 'body{background:url()}'}, function(e,r){console.info(r.css.toString())})
> body {
  background: url(url(); }

su27 avatar Jan 18 '16 04:01 su27

I've confirmed this is an issue in LibSass 3.3.2. It got worse in LibSass 3.3.3. There's a patch on master so this should be fixed in [email protected].

xzyfer avatar Jan 20 '16 11:01 xzyfer