Extend mapping of attribute names to required namespaces

This commit is contained in:
aschmi 2016-02-18 16:07:56 +01:00
parent b5c837bb87
commit a4757b37de

View file

@ -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) {