diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-02-07 03:52:08 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-02-07 03:52:08 +0800 |
commit | 411fd545df9ba41609b00e67e96369f493fe0610 (patch) | |
tree | 73eb88223852a43d2a1c5bde678781a379e3108e /mail/mail-format.c | |
parent | 33f7597222b0b4654492a68373ff23fd07c7aa28 (diff) | |
download | gsoc2013-evolution-411fd545df9ba41609b00e67e96369f493fe0610.tar gsoc2013-evolution-411fd545df9ba41609b00e67e96369f493fe0610.tar.gz gsoc2013-evolution-411fd545df9ba41609b00e67e96369f493fe0610.tar.bz2 gsoc2013-evolution-411fd545df9ba41609b00e67e96369f493fe0610.tar.lz gsoc2013-evolution-411fd545df9ba41609b00e67e96369f493fe0610.tar.xz gsoc2013-evolution-411fd545df9ba41609b00e67e96369f493fe0610.tar.zst gsoc2013-evolution-411fd545df9ba41609b00e67e96369f493fe0610.zip |
Look for DOCTYPE XML comments too to decide if the message content is
2002-02-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_text_plain): Look for DOCTYPE XML comments
too to decide if the message content is really HTML.
svn path=/trunk/; revision=15581
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r-- | mail/mail-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c index ff0bfd2c63..a55ffbbe17 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -1195,7 +1195,7 @@ handle_text_plain (CamelMimePart *part, const char *mime_type, start = text; while (isspace ((unsigned) *start)) start++; - if (!g_strncasecmp (start, "<html>", 6)) { + if (!g_strncasecmp (start, "<html>", 6) || !g_strncasecmp (start, "<!DOCTYPE HTML", 14)) { g_free (text); return handle_text_html (part, "text/html", md, html, stream); } |