X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/e64e37a2fbe6d64b2513133d34370f0d1a63f7b9..72f859c70150e9268ee7fd1829917ce0823750f6:/modules/documentCanvas/transformations.js diff --git a/modules/documentCanvas/transformations.js b/modules/documentCanvas/transformations.js index 4824849..2b5a5eb 100644 --- a/modules/documentCanvas/transformations.js +++ b/modules/documentCanvas/transformations.js @@ -72,7 +72,7 @@ define(['libs/jquery-1.9.1.min'], function($) { transformations.toXML = { getXML: function(body) { - var inner = $(body); + var inner = body.clone(); var toret = $('
'); toret.append(inner);