jakearchibald / svgomg

Web GUI for SVGO
https://jakearchibald.github.io/svgomg/
MIT License
5.76k stars 476 forks source link

Remove unknowns & defaults should also works within 𝚜𝚝𝚢𝚕𝚎 attribute #408

Closed KrasnayaPloshchad closed 1 year ago

KrasnayaPloshchad commented 1 year ago

Although SVGOMG have an “Remove unknowns & defaults” option, it doesn’t works with CSS properties in style attribute, instead, it must works with “Style to attributes” option. If this option could be able to clean up CSS styles as well, that would be more useful for SVGs created by major SVG editors.

This can be reproduced with https://upload.wikimedia.org/wikipedia/commons/archive/3/30/20200701055512%21PatriarchsCross.svg

XhmikosR commented 1 year ago

Such requests should be made upstream in svgo; SVGOMG is mostly an SVGO wrapper.

KrasnayaPloshchad commented 1 year ago

I reported. https://github.com/svg/svgo/issues/1706

XhmikosR commented 1 year ago

Closing the issue here since there's an upstream issue.