svgdotjs/svg.import.js

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

codeurWeb opened this issue · 1 comments

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

+1