Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
5af4fa23d1
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue