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
SVGO doesn't handle <style> elements well. I've been working on a version that addresses some of the limitations of SVGO, at https://www.npmjs.com/package/svgo-ll
svgo-ll keeps the <marker> element, though I did notice that it fails to delete class="line" (which doesn't cause any display problems, but it should be removed).
Simple optimize command can result in markers being removed:
svgo -i input.svg -o output.svg
Input file:
Output file:
Note that the arrow marker is missing in the output.
In the input file, if
#arrow {}
is either removed or changed to.arrow {}
, the problem doesn't occur.SVGO 3.3.2
Node 20.10.0
The text was updated successfully, but these errors were encountered: