summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-16 08:46:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-16 08:46:58 +0000
commit56f40bd031737edaae27afbb34b7dd5ba75defd7 (patch)
tree7f20ea5247dd3a30d96040682ef9c5db8f9aa9fe /html.c
parent77a404388af995dd280b4021ca59a652c5cc2982 (diff)
downloadmandoc-56f40bd031737edaae27afbb34b7dd5ba75defd7.tar.gz
Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1).
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 66421a8e..be87919e 100644
--- a/html.c
+++ b/html.c
@@ -237,7 +237,7 @@ print_ofont(struct html *h, enum htmlfont font)
/* FIXME: DECO_ROMAN should just close out preexisting. */
- if (h->metaf)
+ if (h->metaf && h->tags.head == h->metaf)
print_tagq(h, h->metaf);
PAIR_CLASS_INIT(&tag, htmlfonts[font]);