From c5925afa28629b2ab21f914f9d3841e5ac733a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Sat, 4 Sep 2021 00:26:28 +0200 Subject: [PATCH] Render subnodes in each node. --- _scripts/generate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_scripts/generate.py b/_scripts/generate.py index d47cf15..edeae3f 100644 --- a/_scripts/generate.py +++ b/_scripts/generate.py @@ -164,6 +164,8 @@ def render(headline, doc): content = [] render_tree(dom, content) + for child in headline.children: + content.append(render(child, doc)) if headline.state is None: state = ""