Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpolation in url() causes malformed url error #644

Closed
nkovacs opened this issue Nov 13, 2014 · 1 comment · Fixed by #778
Closed

Interpolation in url() causes malformed url error #644

nkovacs opened this issue Nov 13, 2014 · 1 comment · Fixed by #778

Comments

@nkovacs
Copy link

nkovacs commented Nov 13, 2014

This does not work:

http://sassmeister.com/gist/6ec224b93dceaf79bc7b

If I use a variable, it works:

http://sassmeister.com/gist/406bb98619e1107c4193

If I quote the url, it also works:

http://sassmeister.com/gist/9a5bf8575597335bd241

If I remove the dots, the leading / and the @, it also works:

http://sassmeister.com/gist/ea879c29b0c3c1a45ac4

@xzyfer xzyfer changed the title malformed url error Interpolation in url() causes malformed url error Nov 17, 2014
@xzyfer
Copy link
Contributor

xzyfer commented Nov 17, 2014

it appears that interpolation with url() is mishandled. Simplified test cases FTR

foo {
  background-image: url(foo/#{"bar"}/baz.jpg);
}

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

Successfully merging a pull request may close this issue.

2 participants