Functions§
- collect_
editor_ prefixes - Collect namespace prefixes bound to editor URIs on the root SVG element.
- has_
no_ meaningful_ attributes - Check if a
<g>has no meaningful attributes (only editor cruft or nothing). - is_
collapsible_ container - Elements that can be removed when empty (no surviving children).
- is_
editor_ attribute - Check if an attribute belongs to an editor namespace.
- is_
editor_ element - Check if an element belongs to an editor namespace (e.g.,
sodipodi:namedview). - minify_
text - Minify text content — collapse whitespace to a single space, trim.