Closed aorbe closed 7 years ago
Sometimes there is space in the end of viewBox property in SVG file. So I suggest modify line 520 of parser.py to viewBox = list(map(float, re.split(r'[\s,]+', svg.attrib['viewBox'].rstrip())))
Might as well do strip() rather than rstrip(). Done.
Sometimes there is space in the end of viewBox property in SVG file. So I suggest modify line 520 of parser.py to viewBox = list(map(float, re.split(r'[\s,]+', svg.attrib['viewBox'].rstrip())))