summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-26 20:14:58 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-26 20:14:58 (GMT)
commit351960de9410813c9cf11712a32b06f18c2170be (patch)
tree0cbed85a06ecc62686f1343e704597a1ea3d2c16 /Doc/perl
parent6c7fc77d22b804b10c4576372222c5349e095c6f (diff)
downloadcpython-351960de9410813c9cf11712a32b06f18c2170be.zip
cpython-351960de9410813c9cf11712a32b06f18c2170be.tar.gz
cpython-351960de9410813c9cf11712a32b06f18c2170be.tar.bz2
Normalize the HTML generated for table headers.
Diffstat (limited to 'Doc/perl')
-rw-r--r--Doc/perl/python.perl17
1 files changed, 10 insertions, 7 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index 0066703..76d54f1 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -1083,13 +1083,14 @@ sub do_env_tableii{
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>\&nbsp;</th>"
. "\n $th2<b>$h2</b>\&nbsp;</th>"
+ . "\n </tr>"
. "\n </thead>"
. "\n <tbody valign='baseline'>"
- . $_
+ . $_
. "\n </tbody>"
. "\n</table>";
}
@@ -1130,11 +1131,12 @@ sub do_env_tableiii{
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>\&nbsp;</th>"
. "\n $th2<b>$h2</b>\&nbsp;</th>"
. "\n $th3<b>$h3</b>\&nbsp;</th>"
+ . "\n </tr>"
. "\n </thead>"
. "\n <tbody valign='baseline'>"
. $_
@@ -1182,12 +1184,13 @@ sub do_env_tableiv{
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>\&nbsp;</th>"
. "\n $th2<b>$h2</b>\&nbsp;</th>"
. "\n $th3<b>$h3</b>\&nbsp;</th>"
. "\n $th4<b>$h4</b>\&nbsp;</th>"
+ . "\n </tr>"
. "\n </thead>"
. "\n <tbody valign='baseline'>"
. $_