From 01d1e8189bc059336dc51d80815823f91cbb24a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Thu, 7 Aug 2014 16:17:25 +0200 Subject: [PATCH] smartxml: TextNode.split indicates which of the two return nodes is actually a new one --- src/smartxml/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smartxml/core.js b/src/smartxml/core.js index 6329491..b60bc2e 100644 --- a/src/smartxml/core.js +++ b/src/smartxml/core.js @@ -359,7 +359,7 @@ var textNodeTransformations = { newElement.prepend({text: suffix}); } - return {first: parentElement, second: newElement}; + return {first: parentElement, second: newElement, created: newElement}; }, divideWithElementNode: function(node, params) { -- 2.20.1