summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 38fb914)
raw | patch | inline | side by side (parent: 38fb914)
author | acspike <acspike@users.sourceforge.net> | |
Fri, 25 Jan 2008 19:43:24 +0000 (19:43 +0000) | ||
committer | acspike <acspike@users.sourceforge.net> | |
Fri, 25 Jan 2008 19:43:24 +0000 (19:43 +0000) |
possible fix for [Bug 179770]
share/extensions/inkex.py | patch | blob | history |
index 5f12c891703669d373808d3be7d59b45bbae8aea..d5c1ce2136fd630ca417fd43f8e457122d95c2f2 100755 (executable)
def addNS(tag, ns=None):
val = tag
- if ns!=None and len(ns)>0 and NSS.has_key(ns):
+ if ns!=None and len(ns)>0 and NSS.has_key(ns) and len(tag)>0 and tag[0]!='{':
val = "{%s}%s" % (NSS[ns], tag)
return val