mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
cleanupIDs plugin is disabled when a script or style tag is present. I assume that this is because they might contain an id. If these tags are empty there is no point in not cleaning the id though. When running svgo with the option `multipass: true`, it allows us to first run `inlineStyles` plugin to empty the style tag. Then, we can run `cleanupIDs` plugin.
24 lines
977 B
XML
24 lines
977 B
XML