1
0
mirror of https://github.com/svg/svgo.git synced 2025-08-01 18:46:52 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
1152257505 Perform cleanupIDs optimization when style/script tag is empty
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.
2019-11-08 22:58:43 +03:00
d668a10d14 Prevent removing of meaningful whitespace in text tags. Fixes #299 2015-02-15 22:39:01 +03:00
ec7d4cc856 Updated test according to changes in pretty printing 2015-02-01 23:41:09 +03:00
3b3275d4b6 test/plugins repair and refactoring 2013-04-11 20:53:00 +03:00