svg-path-to-polygons
svg-path-to-polygons copied to clipboard
Does not handle degenerate cubic beziers
pathDataToPolys('M0,0c0,0,0,0,0,0')
I was working with an SVG file and it had a degenerate cubic bezier command. The above test case reproduces the issue: Infinite recursion
Confirmed. Thanks for the report!