X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/f4b30e13f370f50a926971df2d23ca423a0c88d8..0bea7025f60aa5cc2ed89eed72da0d616f3574ef:/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();