Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki

This commit is contained in:
Jacques Distler 2010-02-13 14:47:23 -06:00
commit 5af4fa23d1

View file

@ -5683,7 +5683,7 @@ function BatchCommand(text) {
// run it through our sanitizer to remove anything we do not support // run it through our sanitizer to remove anything we do not support
sanitizeSvg(newDoc.documentElement); sanitizeSvg(newDoc.documentElement);
elt.parentNode.replaceChild(newDoc.documentElement.firstChild, elt); elt.parentNode.replaceChild(svgdoc.importNode(newDoc.documentElement.firstChild, true), elt);
call("changed", [elt]); call("changed", [elt]);
} catch(e) { } catch(e) {
console.log(e); console.log(e);