mirror of
https://github.com/mankidev/antialgorithm.git
synced 2026-12-01 09:31:03 -10:00
to_path() called el.clear(), which also drops child elements, text and tail. In t2.svg the <title>tooltip</title> inside a circle was lost, and so were <desc>, <animate> and <set> children; the cleared tail also pulled every following element onto one line. Only the geometry attributes are now removed before the tag changes, so children and whitespace stay. A shape whose geometry is animated (an <animate> or <set> child whose attributeName is r, x1, width, points and so on) is left as it is, because the animation would target an attribute the path no longer has.