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

SVG downloads in IE/Edge contain literal data URL #2063

Closed
radhikalism opened this issue Oct 6, 2017 · 2 comments
Closed

SVG downloads in IE/Edge contain literal data URL #2063

radhikalism opened this issue Oct 6, 2017 · 2 comments

Comments

@radhikalism
Copy link
Contributor

When using downloadImage to save a SVG snapshot via MS IE or Edge, the saved file contains the literal data URL value rather than the decoded SVG source code.

I believe this is a consequence of 22d902b before which url contained the raw SVG source. That commit is probably correct to only put URL values in url, but that means the URL should be decoded before constructing a Blob and saving as a file.

See my PR here for a fix: radhikalism#1

@alexcjohnson
Copy link
Collaborator

possibly related to (or duplicate of even) #699 ?

@bpostlethwaite
Copy link
Member

cc @cldougl - looks like we have progress on this one

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

3 participants