edemaine / svgtiler

Tool for drawing diagrams on a grid, combining grids of SVGs into a big SVG figure
MIT License
61 stars 6 forks source link

Sanitizing SVG files #76

Closed edemaine closed 2 years ago

edemaine commented 2 years ago

When referring to .svg files (drawn in another tool like Inkscape) for symbols in .txt or .js/.coffee mapping files, there is currently an issue with repeating the xmlns specification. We need to omit any xmlns attributes that end up on the root <svg> element.