Comment 4 for bug 1216859

Revision history for this message
su_v (suv-lp) wrote :

Also mentioned as known issue (comment #2) in
- Bug #837603 “Simplestyle extension helper breaks on spaces in styles (with fix)”
  <https://bugs.launchpad.net/inkscape/+bug/837603>

<quote>
Of course, there are still edge cases falling through the cracks: namely a final space at the end of the style. It could be fixed by changing len(i) to len(i.strip()) or changing s.split(";") to s.strip().split(";")

It might be worth considering writing an actual parser instead of a one-liner.
</quote>