summaryrefslogtreecommitdiff
path: root/md2man
diff options
context:
space:
mode:
Diffstat (limited to 'md2man')
-rwxr-xr-xmd2man2
1 files changed, 2 insertions, 0 deletions
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('<dt>')
+ 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: