Prefix every id and id-reference inside a cloned subtree so that combining many tiles (cloned from a few shared templates) into one SVG document does not cause id collisions (gradients, clipPaths, etc.).
Prefix every id and id-reference inside a cloned subtree so that combining many tiles (cloned from a few shared templates) into one SVG document does not cause id collisions (gradients, clipPaths, etc.).