parseSVGContent

external fun parseSVGContent(content: String): ParsedSVGContent?

Extract attributes and content from an SVG string.

Return

the attributes of the <svg> element and its inner content, or null if the string does not contain an SVG.