Changed this initialisation line 142
authorThierry Pasqualier <thierry@uncensored.citadel.org>
Tue, 6 Nov 2007 09:12:02 +0000 (09:12 +0000)
committerThierry Pasqualier <thierry@uncensored.citadel.org>
Tue, 6 Nov 2007 09:12:02 +0000 (09:12 +0000)
ptr = msg ;  to  ptr = msg + 1;
seems to fix the body bug.
We have to test it.
It is possible that the dysfunctions of the messages displays
of Firefox and IE result from this useless body tag.

webcit/html2html.c

index b15455b675b7861577e7ea19316ebc33ddfa51fa..f96c23908da49607ef397fd2f183e10ab10cc219 100644 (file)
@@ -139,7 +139,7 @@ void output_html(char *supplied_charset, int treat_as_wiki) {
        }
 
        /** Do a first pass to isolate the message body */
-       ptr = msg;
+       ptr = msg + 1;
        msgstart = msg;
        msgend = &msg[content_length];