diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 4842da2d6f5..ca91b2cef6b 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 = ""; } my($c1align,$c2align) = @col_aligns[0,1]; - "$c1align$font$c1$efont\n" + "$c1align$sfont$c1$efont\n" . " $c2align$c2$'"; } @@ -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 = ""; } my($c1align, $c2align, $c3align) = @col_aligns; - "$c1align$font$c1$efont\n" + "$c1align$sfont$c1$efont\n" . " $c2align$c2\n" . " $c3align$c3$'"; }