X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/f4b30e13f370f50a926971df2d23ca423a0c88d8..25ead2647d14c8d2c70631998e7846130c411913:/src/smartxml/core.js diff --git a/src/smartxml/core.js b/src/smartxml/core.js index 9630a77..419b175 100644 --- a/src/smartxml/core.js +++ b/src/smartxml/core.js @@ -106,7 +106,7 @@ var elementNodeTransformations = { detach: function() { var next; - if(this.parent() && this.isSurroundedByTextElements()) { + if(this.parent() && this.isSurroundedByTextNodes()) { next = this.next(); this.prev().appendText(next.getText()); next.detach();