Fixed some bugs in html output, that were causing errors in the W3C

HTML validator. As far as I can see, there is only one bug left
in this category.
This commit is contained in:
slidedraw 2002-04-14 01:26:23 +00:00
parent 623598152e
commit 1862b0b4f4
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
xlHtml ChangeLog
0.4.9.4
0.5 04/13/02
*Fixed some memory leaks
*Increased file name limit to 256 characters

View File

@ -83,9 +83,9 @@ void OutputTableHTML(void)
{
if (ws_array[i]->ws_title.str)
{
printf("<H1><CENTER>");
printf("<CENTER><H1>");
OutputString(&ws_array[i]->ws_title);
printf("</CENTER></H1><br>");
printf("</H1></CENTER><br>");
do_cr();
}
else
@ -132,7 +132,7 @@ void OutputTableHTML(void)
if (!aggressive)
printf("</TR>\n");
}
printf("</table></FONT><HR>");
printf("</TABLE></FONT><HR>");
do_cr();
}

View File

@ -2594,7 +2594,7 @@ void output_cell(cell *c, int xml)
printf( xml ? "" : " VALIGN=\"top\"");
break;
case 1:
printf( xml ? "" : " VALIGN=\"center\"");
printf( xml ? "" : " VALIGN=\"middle\"");
break;
case 2: /* General alignment */
if (safe > 1)