sprite-file returns absolute url instead of relative #85

Open
kovalchik opened this Issue Jun 4, 2012 · 0 comments

Projects

None yet

1 participant

@kovalchik

The sprite-file function should return a relative url which can be used with the image-width or image-url function. Instead, it seems to be returning an absolute url beginning with a slash. For example:


$icons: sprite-map("sociable/*.png");
$image-url: sprite-file($icons, "facebook");

$image-url should be sociable/facebook.png but is actually /sociable/facebook.png which won't work with SASS image calculation functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment