diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-28 08:00:17 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-28 08:00:17 +0000 |
commit | 3211a3293d4f68feb48e68fc3014d6831c1b44e3 (patch) | |
tree | f6bb6ebeda945d354143c9f47fe7839393a6c792 /man_html.c | |
parent | cdff20f6d7e19ed09c4c123178ff9c16bdef9aa9 (diff) | |
download | mandoc-3211a3293d4f68feb48e68fc3014d6831c1b44e3.tar.gz mandoc-3211a3293d4f68feb48e68fc3014d6831c1b44e3.tar.zst mandoc-3211a3293d4f68feb48e68fc3014d6831c1b44e3.zip |
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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.15 2009/10/27 04:50:15 kristaps Exp $ */ +/* $Id: man_html.c,v 1.16 2009/10/28 08:00:18 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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); } |