-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Regression in 3.0.4: convertPathData breaks paths #1855
Labels
Comments
It seems meaningless, but it does affect icon rendering, so it has some purpose. I have no idea why it does that. Doesn't make any sense, but it does work. |
KTibow
added a commit
to KTibow/svgo
that referenced
this issue
Nov 28, 2023
SethFalco
pushed a commit
that referenced
this issue
Nov 29, 2023
Thanks for reporting the issue! And thanks KTibow for solving it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Source icon:
Icon optimised in 3.0.4 using only
convertPathData
plugin:The only optimisation here that I can see is removal of
z
, so most likely issue is caused by this: #1822 (edit: fixed link to correct pull request)To Reproduce
Steps to reproduce the behavior:
optimize(src, {plugins: ['convertPathData']})
Desktop (please complete the following information):
Additional context
Works correctly in 3.0.3
The text was updated successfully, but these errors were encountered: