* Small change to above
authorArt Cancro <ajc@citadel.org>
Tue, 16 Jul 2002 03:37:24 +0000 (03:37 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 16 Jul 2002 03:37:24 +0000 (03:37 +0000)
webcit/ChangeLog
webcit/html2html.c
webcit/messages.c

index f5121cbf43424b7516a76acb8cd978c303ac1679..b725d30524d768c6b024a53f7cf1206dda923d60 100644 (file)
@@ -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 <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
-
index fb77905308ccf8f19825d4de7a0a1c00e27835bb..8fdc8cb38de2840d06bec0d429c4f370cf4e2d07 100644 (file)
@@ -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("</I></B></FONT></TD></TR></TABLE></TT></PRE></A><BR>\n");
 }
 
index 8e7c1237f66107050948d1ad1a044d8facdb15ec..8d9bf78c9151e0b738e0d8774ac7d21c36f4f536 100644 (file)
@@ -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 {