summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-16 20:22:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-16 20:22:27 +0000
commit9a634e5b4c347228732101281f5a7de5cdd734a7 (patch)
treebbd042a299e7eec8fe0f51623916ab83a84c0066 /mdoc_html.c
parentfa2f960ee8806072de9b6ea78e8122f19b41c492 (diff)
downloadmandoc-9a634e5b4c347228732101281f5a7de5cdd734a7.tar.gz
Restore the page headers and page footers that accidentally got lost
in rev. 1.225. Regression reported by florian@.
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: