about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)