Mercurial > cpython-lru_cache-weakref
diff Doc/perl/python.perl @ 15349:0c19672d47bb legacy-trunk
Normalize the HTML generated for table headers.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 26 Oct 2000 20:14:58 +0000 |
| parents | d17ba141480a |
| children | 47d9fbe6537c |
line wrap: on
line diff
--- a/Doc/perl/python.perl Thu Oct 26 20:01:09 2000 +0000 +++ b/Doc/perl/python.perl Thu Oct 26 20:14:58 2000 +0000 @@ -1083,13 +1083,14 @@ my $a2 = $col_aligns[1]; s/\\lineii</\\lineii[$a1|$a2]</g; return '<table border align="center" style="border-collapse: collapse">' - . "\n <thead>" - . "\n <tr class=\"tableheader\">" + . "\n <thead>" + . "\n <tr class=\"tableheader\">" . "\n $th1<b>$h1</b>\ </th>" . "\n $th2<b>$h2</b>\ </th>" + . "\n </tr>" . "\n </thead>" . "\n <tbody valign='baseline'>" - . $_ + . $_ . "\n </tbody>" . "\n</table>"; } @@ -1130,11 +1131,12 @@ my $a3 = $col_aligns[2]; s/\\lineiii</\\lineiii[$a1|$a2|$a3]</g; return '<table border align="center" style="border-collapse: collapse">' - . "\n <thead>" - . "\n <tr$TABLE_HEADER_BGCOLOR>" + . "\n <thead>" + . "\n <tr class=\"tableheader\">" . "\n $th1<b>$h1</b>\ </th>" . "\n $th2<b>$h2</b>\ </th>" . "\n $th3<b>$h3</b>\ </th>" + . "\n </tr>" . "\n </thead>" . "\n <tbody valign='baseline'>" . $_ @@ -1182,12 +1184,13 @@ my $a4 = $col_aligns[3]; s/\\lineiv</\\lineiv[$a1|$a2|$a3|$a4]</g; return '<table border align="center" style="border-collapse: collapse">' - . "\n <thead>" - . "\n <tr$TABLE_HEADER_BGCOLOR>" + . "\n <thead>" + . "\n <tr class=\"tableheader\">" . "\n $th1<b>$h1</b>\ </th>" . "\n $th2<b>$h2</b>\ </th>" . "\n $th3<b>$h3</b>\ </th>" . "\n $th4<b>$h4</b>\ </th>" + . "\n </tr>" . "\n </thead>" . "\n <tbody valign='baseline'>" . $_
