summaryrefslogtreecommitdiffstatshomepage
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
commit74b8d5112618021ff48a1c5671a4e86a3d6bc1ce (patch)
treea6aebe43361d7eb3751f8a2dcd1197fa1a7a9510 /html.c
parent22c7cae08d6738c1f72bb810050cc88010d6d7b3 (diff)
downloadmandoc-74b8d5112618021ff48a1c5671a4e86a3d6bc1ce.tar.gz
mandoc-74b8d5112618021ff48a1c5671a4e86a3d6bc1ce.tar.zst
mandoc-74b8d5112618021ff48a1c5671a4e86a3d6bc1ce.zip
Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1).
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index e8b44730..0c681fc5 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.90 2009/11/16 06:07:49 kristaps Exp $ */
+/* $Id: html.c,v 1.91 2009/11/16 08:46:58 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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]);