do_cmd_lineii(),

do_cmd_lineiii():  Fix markup style conversion to HTML tags for first column.
	(The endtag wasn't formed properly.)
This commit is contained in:
Fred Drake 1998-04-09 17:59:11 +00:00
parent 99c185e787
commit 5cca42e0b7
1 changed files with 6 additions and 6 deletions

View File

@ -760,13 +760,13 @@ sub do_cmd_lineii{
s/$next_pair_pr_rx//o; s/$next_pair_pr_rx//o;
my $c1 = $2; my $c1 = $2;
s/$next_pair_pr_rx//o; s/$next_pair_pr_rx//o;
my($c2,$font,$efont) = ($2, $globals{"lineifont"}, ''); my($c2,$font,$sfont,$efont) = ($2, $globals{"lineifont"}, '', '');
if ($font) { if ($font) {
$font = "<$font>"; $sfont = "<$font>";
$efont = "</$font>"; $efont = "</$font>";
} }
my($c1align,$c2align) = @col_aligns[0,1]; my($c1align,$c2align) = @col_aligns[0,1];
"<tr>$c1align$font$c1$efont</td>\n" "<tr>$c1align$sfont$c1$efont</td>\n"
. " $c2align$c2</td>$'"; . " $c2align$c2</td>$'";
} }
@ -801,13 +801,13 @@ sub do_cmd_lineiii{
s/$next_pair_pr_rx//o; s/$next_pair_pr_rx//o;
my $c2 = $2; my $c2 = $2;
s/$next_pair_pr_rx//o; s/$next_pair_pr_rx//o;
my($c3,$font,$efont) = ($2, $globals{"lineifont"}, ''); my($c3,$font,$sfont,$efont) = ($2, $globals{"lineifont"}, '', '');
if ($font) { if ($font) {
$font = "<$font>"; $sfont = "<$font>";
$efont = "</$font>"; $efont = "</$font>";
} }
my($c1align, $c2align, $c3align) = @col_aligns; my($c1align, $c2align, $c3align) = @col_aligns;
"<tr>$c1align$font$c1$efont</td>\n" "<tr>$c1align$sfont$c1$efont</td>\n"
. " $c2align$c2</td>\n" . " $c2align$c2</td>\n"
. " $c3align$c3</td>$'"; . " $c3align$c3</td>$'";
} }