-
Notifications
You must be signed in to change notification settings - Fork 7
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
Should not process urls with protocol data: #7
Comments
👍 |
Would be nice for it to leave data urls alone |
You could add a test in your rework function to check for the data protocol. If present just the return the original url: |
Please check if #10 helps |
Can someone get to merging the above PR? This is causing production issues for me and it would be nice if I didn't have to point to my own fork with this patched |
Would like to see this merged, too. |
Took care of the remaining remark in #10. Let's see if it gets merged and a new version released. |
Posted this on another issue but will put it here as well. Since there are no commits on since 2015 I do not think it is maintained any longer. So I wouldn't get your hopes up that any PRs will be merged. After using a forked version for a little while I ended up switching to use PostCSS Url which is still maintained. If you are already using the popular Autoprefixer then you are also using PostCSS which makes adding PostCSS Url pretty easy. |
Right now URLs in css like
gets changed to
when run with the plugin with no transformations to the URL.
The bug is that the quotes get stripped off, leading to an invalid inline SVG
The text was updated successfully, but these errors were encountered: