Properly pass children to list block

This commit is contained in:
Danila Fedorin 2021-07-16 13:05:47 -07:00
parent cdf85edad9
commit 900ebfe289

View file

@ -63,7 +63,7 @@ class Deserializer {
const item = this.parseAnyNodes(result.getChildNodes(child)); const item = this.parseAnyNodes(result.getChildNodes(child));
items.push(item); items.push(item);
} }
return new ListBlock(start, nodes); return new ListBlock(start, items);
} }
_ensureElement(node, tag) { _ensureElement(node, tag) {