SVG viewBox
aorbe opened this issue · comments
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.