You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting the bug and sharing an example SVG to reproduce the issue.
The issue was that the original SVG had some instances of <use> that referred to an ID to a node that didn't exist. If the offending node referenced #a… but later the cleanupIds plugin renames another node ID to a, this makes those bad references valid and unintentionally points them to a different node. This causes previously malformed nodes to effectively duplicate an existing node.
When running
on the SVG
it will produce extra artifacts:
(See, e.g., the axis labels.)
The problem does not occur without
--multipass
.This is with svgo 3.0.2, node 21.0.0, on Arch Linux.
The text was updated successfully, but these errors were encountered: