summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-09 17:59:11 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-09 17:59:11 (GMT)
commit5cca42e0b765ed891360f02da3de5d588e8b422a (patch)
treed62a7a4072cf1ccacbe27caa1fac27e2cc3c6747 /Doc
parent99c185e787de428ad09265401da9f8eba8c2ad99 (diff)
downloadcpython-5cca42e0b765ed891360f02da3de5d588e8b422a.zip
cpython-5cca42e0b765ed891360f02da3de5d588e8b422a.tar.gz
cpython-5cca42e0b765ed891360f02da3de5d588e8b422a.tar.bz2
do_cmd_lineii(),
do_cmd_lineiii(): Fix markup style conversion to HTML tags for first column. (The endtag wasn't formed properly.)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/perl/python.perl12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index 4842da2..ca91b2c 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -760,13 +760,13 @@ sub do_cmd_lineii{
s/$next_pair_pr_rx//o;
my $c1 = $2;
s/$next_pair_pr_rx//o;
- my($c2,$font,$efont) = ($2, $globals{"lineifont"}, '');
+ my($c2,$font,$sfont,$efont) = ($2, $globals{"lineifont"}, '', '');
if ($font) {
- $font = "<$font>";
+ $sfont = "<$font>";
$efont = "</$font>";
}
my($c1align,$c2align) = @col_aligns[0,1];
- "<tr>$c1align$font$c1$efont</td>\n"
+ "<tr>$c1align$sfont$c1$efont</td>\n"
. " $c2align$c2</td>$'";
}
@@ -801,13 +801,13 @@ sub do_cmd_lineiii{
s/$next_pair_pr_rx//o;
my $c2 = $2;
s/$next_pair_pr_rx//o;
- my($c3,$font,$efont) = ($2, $globals{"lineifont"}, '');
+ my($c3,$font,$sfont,$efont) = ($2, $globals{"lineifont"}, '', '');
if ($font) {
- $font = "<$font>";
+ $sfont = "<$font>";
$efont = "</$font>";
}
my($c1align, $c2align, $c3align) = @col_aligns;
- "<tr>$c1align$font$c1$efont</td>\n"
+ "<tr>$c1align$sfont$c1$efont</td>\n"
. " $c2align$c2</td>\n"
. " $c3align$c3</td>$'";
}