Skip to content

Commit d719446

Browse files
committed
fix(covertPathData): add test case for #1927
1 parent 127594f commit d719446

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Should process/optimize q correctly even if useless commands in between.
2+
3+
See: https://github.com/svg/svgo/issues/1926
4+
5+
===
6+
7+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 20">
8+
<path d="M-6.3 9.9q.7-4.5.2-5-.5-.5-1.5-.5l0 0q-.4 0-2 .3"/>
9+
</svg>
10+
11+
@@@
12+
13+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 20">
14+
<path d="M-6.3 9.9q.7-4.5.2-5t-1.5-.5q-.4 0-2 .3"/>
15+
</svg>

0 commit comments

Comments
 (0)