diff options
| author | Alvin Penner <penner@vaxxine.com> | 2013-09-01 16:52:21 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2013-09-01 16:52:21 +0000 |
| commit | e3075bd04587f48cd4c53aa5aee70f7a4c727b93 (patch) | |
| tree | 3b0da4015afa1c5a425d5d46f88b37b17a83302b | |
| parent | Fix PNG export with non-px default unit [Bug #1215104]. (diff) | |
| download | inkscape-e3075bd04587f48cd4c53aa5aee70f7a4c727b93.tar.gz inkscape-e3075bd04587f48cd4c53aa5aee70f7a4c727b93.zip | |
extensions. simplestyle.py. allow spaces at end of style attribute (Bug 1216859)
Fixed bugs:
- https://launchpad.net/bugs/1216859
(bzr r12496)
| -rwxr-xr-x | share/extensions/simplestyle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/simplestyle.py b/share/extensions/simplestyle.py index c97d57e75..99b5938dd 100755 --- a/share/extensions/simplestyle.py +++ b/share/extensions/simplestyle.py @@ -176,7 +176,7 @@ def parseStyle(s): if s is None: return {} else: - return dict([[x.strip() for x in i.split(":")] for i in s.split(";") if len(i)]) + return dict([[x.strip() for x in i.split(":")] for i in s.split(";") if len(i.strip())]) def formatStyle(a): """Format an inline style attribute from a dictionary""" |
