Skip to content

SVG Not Supported #4

@jeffnyman

Description

@jeffnyman

For some reason, this won't work if you have an svg take the file you are including. Here's what I had:

<svg style="display: none;">testing</svg>

This leads to the following error:

Uncaught SyntaxError: Unexpected token ';'
    at HTMLElement.appendChild (<anonymous>:5:4364)
    at HTMLInclude.js:28:40
    at Array.forEach (<anonymous>)
    at xhr.onreadystatechange (HTMLInclude.js:12:34)

For what it's worth, this doesn't happen with a tag like canvas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions