X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/fd5607f0a5ffb5f37df8a53a8b50d72ec6a4f8b9..d85935046e6c2d008f6759112b9f8df35e2a4efe:/src/smartxml/smartxml.test.js?ds=sidebyside diff --git a/src/smartxml/smartxml.test.js b/src/smartxml/smartxml.test.js index 03befea..cbef963 100644 --- a/src/smartxml/smartxml.test.js +++ b/src/smartxml/smartxml.test.js @@ -773,6 +773,23 @@ describe('smartxml', function() { expect(contents[1].contents().length).to.equal(1); expect(contents[1].contents()[0].getText()).to.equal('cat'); }); + it('removes across elements - 5 (whole document)', function() { + var doc = getDocumentFromXML('