X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/e64e37a2fbe6d64b2513133d34370f0d1a63f7b9..d8d27d292d0a34cf24f48c769f6bebcb8273fa1d:/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);