summaryrefslogtreecommitdiffstats
path: root/man2html/man2html.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-03-31 22:00:37 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-03-31 22:00:37 -0700
commit05cb25a4a61c897ef7addfedfed4d6e054194c9d (patch)
tree5bdbc57fcff02beedbb325f109e617ae4d2006da /man2html/man2html.c
parentc31a0fc3cdf541ac58b726520ac27a1fec21e094 (diff)
downloadman-05cb25a4a61c897ef7addfedfed4d6e054194c9d.tar.gz
man-05cb25a4a61c897ef7addfedfed4d6e054194c9d.tar.bz2
man-05cb25a4a61c897ef7addfedfed4d6e054194c9d.zip
.IP: close previous <dd> element with </dd>
We need these because CSS is fussy when we use the :empty selector.
Diffstat (limited to 'man2html/man2html.c')
-rw-r--r--man2html/man2html.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/man2html/man2html.c b/man2html/man2html.c
index 083e556..05090c3 100644
--- a/man2html/man2html.c
+++ b/man2html/man2html.c
@@ -402,6 +402,8 @@ dl_begin_class(const char *class) {
if (itemdepth < SIZE(dl_set) && dl_set[itemdepth] == noDL) {
out_htmlf(dl_open_cls[DL], class);
dl_set[itemdepth]=DL;
+ } else {
+ out_html("</dd>");
}
out_html("<dt>");
}