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

Remove-empty-containers replaces white-spaces-symbols with letter #1618

Closed
JoKalliauer opened this issue Nov 11, 2021 · 2 comments · May be fixed by #2051
Closed

Remove-empty-containers replaces white-spaces-symbols with letter #1618

JoKalliauer opened this issue Nov 11, 2021 · 2 comments · May be fixed by #2051
Labels

Comments

@JoKalliauer
Copy link

Describe the bug
Remove-empty-containers-plugin replaces white-spaces-symbols with letter

To Reproduce
Input
Input.svg

Output
Output.svg

Expected behavior
removeEmptyContainers should also remove <use xlink:href="# "> see #1194

Desktop (please complete the following information):
https://jakearchibald.github.io/svgomg/

  • SVGO Version 2.6.1

Additional context
see #1194

@johnkenny54
Copy link
Contributor

It looks like the visual difference is no longer present (fixed by PR #1817, which prevents the no longer valid id from being reused), but the orphaned <use> is still present, so this issue is now more or less a duplicate of issue #1765.

@JoKalliauer
Copy link
Author

confirm fix in version 3.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants