summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-14 19:23:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-14 19:23:58 +0000
commit4e79e898c4b9d864a069a79b6221f95ba6189c5d (patch)
treede3a06f849ee086066e8abc067e789b2dee0c398 /man_html.c
parentdfbca2422907323ba2f121dca984ffcfd5a15e19 (diff)
downloadmandoc-4e79e898c4b9d864a069a79b6221f95ba6189c5d.tar.gz
Initial check-in of -man -Thtml \f support (needs testing).
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);