diff --git a/mozilla/mailnews/mime/src/mimedrft.cpp b/mozilla/mailnews/mime/src/mimedrft.cpp index ae185a2ab73..65b60014f49 100644 --- a/mozilla/mailnews/mime/src/mimedrft.cpp +++ b/mozilla/mailnews/mime/src/mimedrft.cpp @@ -1465,6 +1465,15 @@ mime_parse_stream_complete (nsMIMESession *stream) { if (body && composeFormat == nsIMsgCompFormat::PlainText) { + //We need to convert the plain/text to HTML in order to escape any HTML markup + char *escapedBody = nsEscapeHTML(body); + if (escapedBody) + { + PR_Free(body); + body = escapedBody; + bodyLen = strlen(body); + } + char* newbody = (char *)PR_MALLOC (bodyLen + 12); //+11 chars for
 & 
tags if (newbody) {