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:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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();
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user