X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/cf7c3b4fb3a419476a0d7f6118d3ba9a3fd0c809..3862e230ab784fa164875fd594c277da9ad87315:/modules/documentCanvas/canvas/canvas.js?ds=inline diff --git a/modules/documentCanvas/canvas/canvas.js b/modules/documentCanvas/canvas/canvas.js index 8882c1c..19c2a3f 100644 --- a/modules/documentCanvas/canvas/canvas.js +++ b/modules/documentCanvas/canvas/canvas.js @@ -320,8 +320,9 @@ $.extend(Canvas.prototype, { }, toXML: function() { - var parent = $('
'); - this.doc().toXML(parent, 0) + var parent = $('
'), + parts = this.doc().toXML(0); + parent.append(parts); return parent.html(); } });