Patch our texi2html to produce more correct HTML.

Thanks to Colin Faber <cfaber@fpsn.net> for the patch.
parent d3d9bc94
...@@ -2,3 +2,4 @@ jani@janikt.pp.saunalahti.fi ...@@ -2,3 +2,4 @@ jani@janikt.pp.saunalahti.fi
monty@hundin.mysql.fi monty@hundin.mysql.fi
mwagner@evoq.mwagner.org mwagner@evoq.mwagner.org
heikki@donna.mysql.fi heikki@donna.mysql.fi
tim@threads.polyesthetic.msg
...@@ -845,7 +845,7 @@ READ_LINE: while ($_ = &next_line) ...@@ -845,7 +845,7 @@ READ_LINE: while ($_ = &next_line)
print "# end of multitable with $multitable_cols columns\n" print "# end of multitable with $multitable_cols columns\n"
if $debug and $DEBUG_USER; if $debug and $DEBUG_USER;
$in_multitable = 0; $in_multitable = 0;
push(@lines, "</TR>\n"); push(@lines, "</TD></TR>\n");
&html_pop_if('TR'); &html_pop_if('TR');
push(@lines, "</TABLE>\n"); push(@lines, "</TABLE>\n");
&html_pop_if('TABLE'); &html_pop_if('TABLE');
...@@ -1076,9 +1076,9 @@ EOC ...@@ -1076,9 +1076,9 @@ EOC
{ {
# All this is a **HACK**. # All this is a **HACK**.
# It does only work for a FEW SIMPLE CASES !!! # It does only work for a FEW SIMPLE CASES !!!
push(@lines, &debug("</TR>\n", __LINE__)) push(@lines, &debug("</TD></TR>\n", __LINE__))
unless $html_element eq 'TABLE';; unless $html_element eq 'TABLE';
&html_pop_if('TR'); &html_pop_if('TR');
$what =~ s|\s+\@tab\s*| </TD><TD> |g; $what =~ s|\s+\@tab\s*| </TD><TD> |g;
push(@lines, &debug("<TR><TD>$what\n", __LINE__)); push(@lines, &debug("<TR><TD>$what\n", __LINE__));
&html_push('TR'); &html_push('TR');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment