From 0410bc6eec809f46dd4bf97828c4f669d9022d88 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Fri, 23 Apr 2021 02:42:50 +0000 Subject: Don't choke on rowspan (but don't produce a proper result either) git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4094 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- buildtools/makeman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools') diff --git a/buildtools/makeman b/buildtools/makeman index 920c200c..6ff40aca 100755 --- a/buildtools/makeman +++ b/buildtools/makeman @@ -253,7 +253,7 @@ def makeman(name, file, indoc): indoc = re.sub("(?i) *.*", ".TE", indoc) # First the single-line case indoc = re.sub("(?i) *", "\t", indoc) - indoc = re.sub("(?i) *", "", indoc) + indoc = re.sub("(?i) *]*)?>", "", indoc) indoc = re.sub("(?i) *", "", indoc) # Then the multiline case indoc = re.sub(r'(?i)\s*]*>([^<\n]*)\s*', '\t\\1', indoc) -- cgit 1.4.1