git » jacl.git » commit 3544af3

fix tagbody .children

author Alan Dipert
2020-04-06 04:15:43 UTC
committer Alan Dipert
2020-04-06 04:15:43 UTC
parent 6f2f680b7d698524ced628b04d341b849adb4bdc

fix tagbody .children

jacl.js +1 -1

diff --git a/jacl.js b/jacl.js
index ae5a554..406c824 100644
--- a/jacl.js
+++ b/jacl.js
@@ -1399,7 +1399,7 @@ const analyzeSpecials = new Map([
     }
     node.tags = tags;
     node.prelude = node.prelude.map(ana);
-    node.children.unshift(node.prelude);
+    node.children = [...node.prelude, ...node.children];
 
     return node;
   }],