From 81e404b06e632b46f6ce8e9838ec5459be54dac6 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 22 Apr 2021 01:55:24 +0000 Subject: Handle h5, span git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4091 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- buildtools/makeman | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'buildtools') diff --git a/buildtools/makeman b/buildtools/makeman index 21950f72..b954a5d6 100755 --- a/buildtools/makeman +++ b/buildtools/makeman @@ -207,6 +207,7 @@ def makeman(name, file, indoc): indoc = re.sub('(?i)

([^><]*)

', ".SH \\1", indoc) indoc = re.sub('(?i)

([^><]*)

', ".SS \\1", indoc) indoc = re.sub('(?i)

([^><]*)

', ".B \\1", indoc) + indoc = re.sub('(?i)
([^><]*)
', ".B \\1", indoc) # # Process definition lists -- just turn them into .TPs indoc = re.sub("(?i) *
", "", indoc) @@ -231,6 +232,9 @@ def makeman(name, file, indoc): # Abbreviation - just erase tags indoc = re.sub(']+>', '', indoc) indoc = re.sub('', '', indoc) + # Span - just erase tags + indoc = re.sub('(?i)]+>', '', indoc) + indoc = re.sub('(?i)', '', indoc) # Image tags indoc = re.sub(' *([^', ".B \\2\n.IMG -C \\1", indoc) # Special characters -- cgit 1.4.1