Apply a modified patch by Hungerburg to fix bugs 833666, "scour does not clean comments if file starts with a comment", and bug 804238, whereby Scour fails to correctly parse a polygon/polyline if its first coordinate is negative.
Unit tests added for the negative coordinate parsing.
This commit is contained in:
parent
f8c88f0dfa
commit
60b48353b3
4 changed files with 28 additions and 4 deletions
4
unittests/polyline-coord-neg-first.svg
Normal file
4
unittests/polyline-coord-neg-first.svg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<polyline points="-100,-100,100-100,100-100-100,-100-100,200" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 157 B |
Loading…
Add table
Add a link
Reference in a new issue