Render subnodes in each node.

This commit is contained in:
Sergio Martínez Portela 2021-09-04 00:26:28 +02:00
parent e9f3725706
commit c5925afa28

View File

@ -164,6 +164,8 @@ def render(headline, doc):
content = [] content = []
render_tree(dom, content) render_tree(dom, content)
for child in headline.children:
content.append(render(child, doc))
if headline.state is None: if headline.state is None:
state = "" state = ""