From a4757b37dea61fc04a63ee51dc6cb7cbc65e9be0 Mon Sep 17 00:00:00 2001 From: aschmi Date: Thu, 18 Feb 2016 16:07:56 +0100 Subject: [PATCH] Extend mapping of attribute names to required namespaces --- src/svg/SvgElement.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/svg/SvgElement.js b/src/svg/SvgElement.js index 85ba7e43..0f8974fb 100644 --- a/src/svg/SvgElement.js +++ b/src/svg/SvgElement.js @@ -23,7 +23,9 @@ var SvgElement = new function() { // Mapping of attribute names to required namespaces: attributeNamespace = { href: xlink, - xlink: xmlns + xlink: xmlns, + xmlns: xmlns, + 'xmlns:xlink': xmlns }; function create(tag, attributes, formatter) {