-
-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
I'm using svgdom for a project, and it's doing an awesome job. So far, it has helped us generate over 4000 SVG files which are then exported to PNG using Inkscape.
We had one issue though. Namespaced (xlink
) attributes are rendered without the namespace. I've now fixed this in Crystal on the server side:
private def fix_svg_xlink_attributes(svg)
svg.gsub(/ href="#/, %( xlink:href="#))
end
But it's not an ideal situation.
I'm just calling outerHTML on the generated SVG element. Maybe I'm missing something?
Metadata
Metadata
Assignees
Labels
No labels