Skip to content

Commit

Permalink
fix(covertPathData): add test case for #1927
Browse files Browse the repository at this point in the history
  • Loading branch information
SethFalco committed Jan 6, 2024
1 parent 127594f commit d719446
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/plugins/convertPathData.36.svg.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Should process/optimize q correctly even if useless commands in between.

See: https://github.com/svg/svgo/issues/1926

===

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 20">
<path d="M-6.3 9.9q.7-4.5.2-5-.5-.5-1.5-.5l0 0q-.4 0-2 .3"/>
</svg>

@@@

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 20">
<path d="M-6.3 9.9q.7-4.5.2-5t-1.5-.5q-.4 0-2 .3"/>
</svg>

0 comments on commit d719446

Please sign in to comment.