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.
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