X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/d87cc76a0a10ab488729d77c2c712f18f88eb341..6479f1b730495626b2d97c3be2fc903ff34e3a5b:/src/smartxml/smartxml.js?ds=sidebyside diff --git a/src/smartxml/smartxml.js b/src/smartxml/smartxml.js index b90a042..f4aa9fe 100644 --- a/src/smartxml/smartxml.js +++ b/src/smartxml/smartxml.js @@ -189,8 +189,12 @@ $.extend(ElementNode.prototype, DocumentNode.prototype, { toXML: function() { var wrapper = $('
'); - wrapper.append(this._$); + wrapper.append(this._getXMLDOMToDump()); return wrapper.html(); + }, + + _getXMLDOMToDump: function() { + return this._$; } });