mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Normalize the HTML generated for table headers.
This commit is contained in:
parent
6c7fc77d22
commit
351960de94
1 changed files with 10 additions and 7 deletions
|
|
@ -1087,6 +1087,7 @@ sub do_env_tableii{
|
|||
. "\n <tr class=\"tableheader\">"
|
||||
. "\n $th1<b>$h1</b>\ </th>"
|
||||
. "\n $th2<b>$h2</b>\ </th>"
|
||||
. "\n </tr>"
|
||||
. "\n </thead>"
|
||||
. "\n <tbody valign='baseline'>"
|
||||
. $_
|
||||
|
|
@ -1131,10 +1132,11 @@ sub do_env_tableiii{
|
|||
s/\\lineiii</\\lineiii[$a1|$a2|$a3]</g;
|
||||
return '<table border align="center" style="border-collapse: collapse">'
|
||||
. "\n <thead>"
|
||||
. "\n <tr$TABLE_HEADER_BGCOLOR>"
|
||||
. "\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'>"
|
||||
. $_
|
||||
|
|
@ -1183,11 +1185,12 @@ sub do_env_tableiv{
|
|||
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 <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'>"
|
||||
. $_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue