summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-28 08:00:17 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-28 08:00:17 +0000
commitb54610ec3ea88d830ee9843b468ad8f396ef41ab (patch)
tree28cdc0bcf547a7b145eb264cc0c9a4b02919a747 /man_html.c
parent727efc61ff79f9a152dc0ec1ff6aae25907a32fb (diff)
downloadmandoc-b54610ec3ea88d830ee9843b468ad8f396ef41ab.tar.gz
Fixed `sp', `br', `Pp', etc. so as not to have an empty div (-Thtml, -man, -mdoc).
Made html_idcat be completely correct (messy standard) (-Thtml). Fixed warnings about -ohang and -item lists (-Thtml, -mdoc). Fixed typo in index.sgml.
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/man_html.c b/man_html.c
index 4f5406d8..3504c9d7 100644
--- a/man_html.c
+++ b/man_html.c
@@ -334,6 +334,9 @@ man_br_pre(MAN_ARGS)
bufcat_su(h, "height", &su);
PAIR_STYLE_INIT(&tag, h);
print_otag(h, TAG_DIV, 1, &tag);
+ /* So the div isn't empty: */
+ print_text(h, "\\~");
+
return(0);
}