diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-31 22:00:37 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-31 22:00:37 -0700 |
commit | 05cb25a4a61c897ef7addfedfed4d6e054194c9d (patch) | |
tree | 5bdbc57fcff02beedbb325f109e617ae4d2006da | |
parent | c31a0fc3cdf541ac58b726520ac27a1fec21e094 (diff) | |
download | man-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.
-rw-r--r-- | man2html/man2html.c | 2 |
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>"); } |