Open eriklouise opened 4 years ago
Interesting, let me look and see if that's a function of SVG.js (the library that's doing the actual SVG parsing and rendering) or some code I added that helped where there were XHTML text tags embedded in the SVG.
Andrew
also @eriklouise Thank you!
Hello ACE.SVG fellows,
Here's something weird I found: ACE.SVG adds phantom text child nodes to SVG root
Steps to reproduce: Add the following SVG code as SVG doc: `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
` Put `console.log(svgmap.rootSVG);` as init script and let render empty. Here's the output of my console, there's two text nodes that appeared as first and last child of the root node: