From d80da9e674ea1d684564f03dfb09a65f9c5ab7a2 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 15 Jun 2020 13:35:14 -0700 Subject: A few small tweaks. --- md2man | 2 ++ 1 file changed, 2 insertions(+) (limited to 'md2man') diff --git a/md2man b/md2man index 7ee63f53..7c7e7a3c 100755 --- a/md2man +++ b/md2man @@ -181,6 +181,8 @@ class HtmlToManPage(HTMLParser): tag = 'dt' else: st.html_out.append('
') + elif tag == 'p': + st.at_first_tag_in_dd = True # Kluge to suppress a .P at the start of an li. st.at_first_tag_in_li = False if tag == 'p': if not st.at_first_tag_in_dd: -- cgit v1.2.1