oyejorge / less.php

less.js ported to PHP.
http://lessphp.typesettercms.com
Apache License 2.0
656 stars 2 forks source link

Malformed data-uri with mixins when enabling urlArgs #332

Open sb-relaxt-at opened 8 years ago

sb-relaxt-at commented 8 years ago

Given that urlArgs are enabled (e.g. 't=123'), something like the following code causes issues:

.somestyle(){
    background-image: data-uri('pathtoimage.svg');
}

a{
    .somestyle();
}

The created data.uri is:

url("data:image/svg+xml;base64,PD...NCg=="?t=123)