summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/man_html.c b/man_html.c
index 31c990de..2bf7184b 100644
--- a/man_html.c
+++ b/man_html.c
@@ -190,14 +190,16 @@ print_man_node(MAN_ARGS)
print_text(h, n->string);
return;
default:
+ if (h->metaf) {
+ assert(h->metaf == t);
+ print_tagq(h, h->metaf);
+ t = h->tags.head;
+ }
if (mans[n->tok].pre)
child = (*mans[n->tok].pre)(m, n, h);
break;
}
- if (child && n->child)
- print_man_nodelist(m, n->child, h);
-
print_stagq(h, t);
bufinit(h);