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
Additional context
In this case, the problem is with the collapseGroups, convertShapeToPath, and convertPathData plugins. Similar problems are likely present in any plugin that tries to change the SVG in the presence of style elements, particular those with complicated selectors.
SVGO 3.2
The text was updated successfully, but these errors were encountered:
To Reproduce
Optimize the following using default SVGO settings:
Expected behavior
The input and output files look identical in a browser. In fact, the "optimized" SVG is:
This displays very differently from the original.
Additional context
In this case, the problem is with the collapseGroups, convertShapeToPath, and convertPathData plugins. Similar problems are likely present in any plugin that tries to change the SVG in the presence of style elements, particular those with complicated selectors.
SVGO 3.2
The text was updated successfully, but these errors were encountered: