From: Art Cancro Date: Tue, 16 Jul 2002 03:37:24 +0000 (+0000) Subject: * Small change to above X-Git-Tag: v7.86~6337 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=daf9cf2069242bedc1369f87def4f5d8f81a2d49 * Small change to above --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index f5121cbf4..b725d3052 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 323.48 2002/07/16 03:37:24 ajc +* Small change to above + Revision 323.47 2002/07/16 03:23:37 ajc * Display HTML messages as HTML. (Wow!) @@ -865,4 +868,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/html2html.c b/webcit/html2html.c index fb7790530..8fdc8cb38 100644 --- a/webcit/html2html.c +++ b/webcit/html2html.c @@ -74,5 +74,8 @@ void output_text_html(char *partbuf, int total_length) { } write(WC->http_sock, msgstart, strlen(msgstart)); + + /* Close a bunch of tags that might have been opened */ + wprintf("
\n"); } diff --git a/webcit/messages.c b/webcit/messages.c index 8e7c1237f..8d9bf78c9 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -268,7 +268,7 @@ void output_chosen_part(long msgnum, char *multipart_chosen) { if (!strcasecmp(content_type, "text/plain")) { output_text_plain(partbuf, total_length); } - if (!strcasecmp(content_type, "text/html")) { + else if (!strcasecmp(content_type, "text/html")) { output_text_html(partbuf, total_length); } else {