Skip to content

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

@radhikalism

Description

@radhikalism
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

Activity

alexcjohnson

alexcjohnson commented on Oct 6, 2017

@alexcjohnson
Collaborator

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

bpostlethwaite

bpostlethwaite commented on Oct 6, 2017

@bpostlethwaite
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @radhikalism@bpostlethwaite@alexcjohnson

        Issue actions

          SVG downloads in IE/Edge contain literal data URL · Issue #2063 · plotly/plotly.js