From c069fe72cec018ee424660ae6f4f891cb98a5217 Mon Sep 17 00:00:00 2001 From: acspike Date: Fri, 25 Jan 2008 19:43:24 +0000 Subject: [PATCH] Never add two namespaces possible fix for [Bug 179770] --- share/extensions/inkex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/extensions/inkex.py b/share/extensions/inkex.py index 5f12c8917..d5c1ce213 100755 --- a/share/extensions/inkex.py +++ b/share/extensions/inkex.py @@ -72,7 +72,7 @@ def check_inkbool(option, opt, value): 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 -- 2.30.2