From 1862b0b4f450c0ed6371bd8108b99701716a15ae Mon Sep 17 00:00:00 2001 From: slidedraw Date: Sun, 14 Apr 2002 01:26:23 +0000 Subject: [PATCH] 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. --- xlhtml/ChangeLog | 2 +- xlhtml/html.c | 6 +++--- xlhtml/xlhtml.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/xlhtml/ChangeLog b/xlhtml/ChangeLog index 6a3de52..b94a02e 100644 --- a/xlhtml/ChangeLog +++ b/xlhtml/ChangeLog @@ -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 diff --git a/xlhtml/html.c b/xlhtml/html.c index 5724930..9c5b869 100644 --- a/xlhtml/html.c +++ b/xlhtml/html.c @@ -83,9 +83,9 @@ void OutputTableHTML(void) { if (ws_array[i]->ws_title.str) { - printf("

"); + printf("

"); OutputString(&ws_array[i]->ws_title); - printf("


"); + printf("
"); do_cr(); } else @@ -132,7 +132,7 @@ void OutputTableHTML(void) if (!aggressive) printf("\n"); } - printf("
"); + printf("
"); do_cr(); } diff --git a/xlhtml/xlhtml.c b/xlhtml/xlhtml.c index 9c0b973..ede8ecc 100644 --- a/xlhtml/xlhtml.c +++ b/xlhtml/xlhtml.c @@ -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)