about summary refs log tree commit diff
path: root/buildtools
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-04-23 02:42:50 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-04-23 02:42:50 +0000
commit0410bc6eec809f46dd4bf97828c4f669d9022d88 (patch)
tree54c73f8e2dbb9e9ad1622b749af26ef735e31eb7 /buildtools
parent8fd83a19a0288e5be5fb01fcda0d531d281b05fd (diff)
downloadnetpbm-mirror-0410bc6eec809f46dd4bf97828c4f669d9022d88.tar.gz
netpbm-mirror-0410bc6eec809f46dd4bf97828c4f669d9022d88.tar.xz
netpbm-mirror-0410bc6eec809f46dd4bf97828c4f669d9022d88.zip
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
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/makeman2
1 files changed, 1 insertions, 1 deletions
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) *</table>.*", ".TE", indoc)
     # First the single-line case
     indoc = re.sub("(?i)</td> *<td>", "\t", indoc)
-    indoc = re.sub("(?i)<tr> *<td>", "", indoc)
+    indoc = re.sub("(?i)<tr> *<td( [^>]*)?>", "", indoc)
     indoc = re.sub("(?i)</td> *</tr>", "", indoc)
     # Then the multiline case
     indoc = re.sub(r'(?i)\s*<t[hd][^>]*>([^<\n]*)</t[dh]>\s*', '\t\\1', indoc)