Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugin to cleanup XML namespaces #830

Closed
wants to merge 1 commit into from

Conversation

thomsj
Copy link
Contributor

@thomsj thomsj commented Nov 6, 2017

Added plugin to cleanup (remove unused and minify used) XML namespaces. Replaced removeUnusedNS plugin with new plugin (cleanupNS). Fixed bug in cleanupIDs which would allow a generated minified ID to be the same as a preserved ID. Close #844

Added plugin to cleanup (remove unused and minify used) XML namespaces. Replaced 'removeUnusedNS' plugin with new plugin ('cleanupNS'). Fixed bug in 'cleanupIDs' which would allow a generated minified ID to be the same as a preserved ID.
@thomsj
Copy link
Contributor Author

thomsj commented Oct 1, 2019

Closing as I don't think this should be part of SVGO as XML namespaces are not specific to SVG, and as the code in the commit is very unclean.

@thomsj thomsj closed this Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

removeUnusedNS plugin doesn't remove unused namespaces declared on non-svg nodes
1 participant