From: Aleksander Ɓukasz Date: Fri, 28 Jun 2013 08:02:02 +0000 (+0200) Subject: Fix in transformations X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/e816ae7584e8b11a1e24efb2f743ac744d80485b Fix in transformations --- 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);