Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
codeurWeb opened this issue Apr 26, 2014 · 1 comment
Open

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

codeurWeb opened this issue Apr 26, 2014 · 1 comment

Comments

@codeurWeb
Copy link

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

@dhardtke
Copy link

dhardtke commented May 2, 2015

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants