Skip to content

IE11: SVG embedded images are not processed #5756

@TheDutchCoder

Description

@TheDutchCoder

Version

2.3.3

Reproduction link

https://jsfiddle.net/TheDutchCoder/z11fe07p/1964/

Steps to reproduce

Use v-html to output a valid SVG image string. IE11 will not handle this at all (the node will not appear)

What is expected?

The image node to appear in the DOM

What is actually happening?

No node appears in the DOM


In more complex cases, IE will issue the following errors:
[Vue warn]: Error in nextTick: "Error: Error parsing XML string"
XML5660: The specified prefix has not been declared. Line: 1, Column 249

Which seems to point at a missing xmlns:xlink="http://www.w3.org/1999/xlink", but even when that's added it has no effect.

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

    Issue actions