From 05cb25a4a61c897ef7addfedfed4d6e054194c9d Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 31 Mar 2021 22:00:37 -0700 Subject: .IP: close previous
element with
We need these because CSS is fussy when we use the :empty selector. --- man2html/man2html.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'man2html') 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(""); } out_html("
"); } -- cgit v1.2.3