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

complex / inline data url breaks background #3

Open
idoros opened this issue Oct 27, 2015 · 1 comment
Open

complex / inline data url breaks background #3

idoros opened this issue Oct 27, 2015 · 1 comment

Comments

@idoros
Copy link

idoros commented Oct 27, 2015

{ "background": "url(data:image/svg+xml;utf8,<svg width=30 height=30 xmlns='http://www.w3.org/2000/svg'></svg>)" }

{ "background": "url(http://www.somesite.com/assets/pic.jpg)" }

should output:

{ "background-image": "url(data:image/svg+xml;utf8,<svg width=30 height=30 xmlns='http://www.w3.org/2000/svg'></svg>)" }

{ "background-image": "url(http://www.somesite.com/assets/pic.jpg)" }
idoros added a commit to idoros/css-shorthand-expand that referenced this issue Oct 27, 2015
@mindtricksdev
Copy link

Do you plan to publish this fix on npm?

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

No branches or pull requests

2 participants