[Python-checkins] CVS: python/dist/src/Doc/perl python.perl,1.114,1.115

Fred L. Drake fdrake@users.sourceforge.net
Fri, 14 Dec 2001 08:54:55 -0800


Update of /cvsroot/python/python/dist/src/Doc/perl
In directory usw-pr-cvs1:/tmp/cvs-serv24152/perl

Modified Files:
	python.perl 
Log Message:
The valign attribute to control the vertical alignment of a table cell should
be on the <tr> element, not the <table> element.
Partially fixes SF bug #493243.


Index: python.perl
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/perl/python.perl,v
retrieving revision 1.114
retrieving revision 1.115
diff -C2 -d -r1.114 -r1.115
*** python.perl	2001/12/11 20:49:23	1.114
--- python.perl	2001/12/14 16:54:53	1.115
***************
*** 743,747 ****
      return ("<dl><dd class=\"grammar\">\n"
              . "<div class=\"productions\">\n"
!             . "<table cellpadding=\"2\" valign=\"baseline\">\n"
              . translate_commands(translate_environments($_))
              . "</table>\n"
--- 743,747 ----
      return ("<dl><dd class=\"grammar\">\n"
              . "<div class=\"productions\">\n"
!             . "<table cellpadding=\"2\">\n"
              . translate_commands(translate_environments($_))
              . "</table>\n"
***************
*** 762,766 ****
      local($CURRENT_TOKEN) = $token;
      if ($lang eq '*') {
!         return ("<tr>\n"
                  . "    <td><code>$token</code></td>\n"
                  . "    <td>&nbsp;::=&nbsp;</td>\n"
--- 762,766 ----
      local($CURRENT_TOKEN) = $token;
      if ($lang eq '*') {
!         return ("<tr valign=\"baseline\">\n"
                  . "    <td><code>$token</code></td>\n"
                  . "    <td>&nbsp;::=&nbsp;</td>\n"
***************
*** 778,782 ****
      }
      $TokenToTargetMapping{"$CURRENT_GRAMMAR:$token"} = $target;
!     return ("<tr>\n"
              . "    <td><code><a name=\"tok-$token\">$token</a></code></td>\n"
              . "    <td>&nbsp;::=&nbsp;</td>\n"
--- 778,782 ----
      }
      $TokenToTargetMapping{"$CURRENT_GRAMMAR:$token"} = $target;
!     return ("<tr valign=\"baseline\">\n"
              . "    <td><code><a name=\"tok-$token\">$token</a></code></td>\n"
              . "    <td>&nbsp;::=&nbsp;</td>\n"