summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 3c2061c1..1646ce88 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -350,7 +350,9 @@ print_mdoc(MDOC_ARGS)
} else
t = print_otag(h, TAG_DIV, 1, &tag);
+ mdoc_root_pre(meta, n, h);
print_mdoc_nodelist(meta, n, h);
+ mdoc_root_post(meta, n, h);
print_tagq(h, t);
}
@@ -391,9 +393,6 @@ print_mdoc_node(MDOC_ARGS)
n->flags &= ~MDOC_ENDED;
switch (n->type) {
- case ROFFT_ROOT:
- child = mdoc_root_pre(meta, n, h);
- break;
case ROFFT_TEXT:
/* No tables in this mode... */
assert(NULL == h->tblt);
@@ -451,9 +450,6 @@ print_mdoc_node(MDOC_ARGS)
print_stagq(h, t);
switch (n->type) {
- case ROFFT_ROOT:
- mdoc_root_post(meta, n, h);
- break;
case ROFFT_EQN:
break;
default: