j-templates 7.0.54 → 7.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Node/vNode.js +3 -1
- package/package.json +1 -1
package/Node/vNode.js
CHANGED
|
@@ -285,7 +285,9 @@ function AssignChildren(vnode, childrenScope) {
|
|
|
285
285
|
function UpdateChildren(vnode, init = false, skipInit = false) {
|
|
286
286
|
if (!vnode.children)
|
|
287
287
|
return;
|
|
288
|
-
if (vnode.children.length === 1 &&
|
|
288
|
+
if (vnode.children.length === 1 &&
|
|
289
|
+
vnode.children[0].type === "text" &&
|
|
290
|
+
vnode.children[0].node) {
|
|
289
291
|
nodeConfig_1.NodeConfig.reconcileChildren(vnode.node, [vnode.children[0].node]);
|
|
290
292
|
return;
|
|
291
293
|
}
|