JoeChapman / svg-builder

Simple, chainable SVG-building tool for NodeJS and the browser (with Browserify)
41 stars 13 forks source link

Chaining with contents renders inproperly. #14

Open armoredpigeon opened 2 years ago

armoredpigeon commented 2 years ago

When I chain two groups together, each containing other svg elements, instead of getting <g id="1"><circle></g><g id="2"><rect></g> I get it all wrapped inside the second group, like this: <g id="2"><g id="1"><circle></g><circle></g>