Skip to content

Correct handling of "m0 0" vs. "z" commands

Created by: nthykier

As observed in #163 (closed), scour sometimes do some unsafe path rewrites.

This branch solves that issue by separating the logic for removing path segments from the logic for rewriting commands. The first commit removes the current unsafe optimization and the next one reimplements it (and adds a few more test cases for path cleaning of commands).

Merge request reports

Loading