Skip to content

<svg> tag is duplicated when draw.svg(rawSvg) #32

@codeurWeb

Description

@codeurWeb

Hi,

when i import svg like first exemple, the instanciation of SVG create first node and draw.svg(rawSvg) import a from string.

The structure of svg become :
<svg (from instance)>
<svg (from import rawSvg)>

(When i save in file with export and load with import, tag is added recursively)

The behavior is same on http://svgjs.com/import/

There he has a way to load the svg and merging svg tags ?

Best regards,
Julien

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions