diff --git a/src/js/svgutils.js b/src/js/svgutils.js index ec75f57..5746d6e 100644 --- a/src/js/svgutils.js +++ b/src/js/svgutils.js @@ -219,7 +219,7 @@ svgedit.utilities.text2xml = function(sXML) { } if(sXML.indexOf('xlink:href') >= 0) { - sXML = sXML.replace('xlink:href', 'href'); + sXML = sXML.split("xlink:href").join("href"); } var out;