Skip to content

Fix arc parsing#142

Merged
noahbald merged 2 commits intonoahbald:mainfrom
devongovett:fix-arc-parsing
May 11, 2025
Merged

Fix arc parsing#142
noahbald merged 2 commits intonoahbald:mainfrom
devongovett:fix-arc-parsing

Conversation

@devongovett
Copy link
Contributor

Two issues found while testing on the Parcel website (these icons: https://github.com/parcel-bundler/website/tree/v2/src/assets/lang-icons)

  1. Arcs with decimals that don't have any whitespace between their components were not parsing correctly
  2. Arcs with multiple implicit commands were not parsing correctly

These manifested themselves as the path being removed entirely, due to the "remove hidden elems" job, which assumes that any path that fails to parse is hidden.

@noahbald
Copy link
Owner

Thanks, I think it looks good. I noticed pug.svg still seems to break a little, I'll look into mending correctness against these

@noahbald noahbald merged commit 88bd97b into noahbald:main May 11, 2025
20 checks passed
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.

2 participants