Bug 279745 Plain text to HTML conversion shouldn't include bogus HTML comment r=Standard8 sr=bienvenu
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Fri, 06 Mar 2009 13:12:13 +0000
changeset 2141 5210f1319bcd7073e73036195416059b81429e9a
parent 2140 329c16f96d25d75f029fd7f5ff520aee6a5801b5
child 2142 893ff1345c2b6b03da9921912a9322b6d54b7132
push idunknown
push userunknown
push dateunknown
reviewersStandard8, bienvenu
bugs279745
Bug 279745 Plain text to HTML conversion shouldn't include bogus HTML comment r=Standard8 sr=bienvenu
mailnews/mime/src/mimetpla.cpp
--- a/mailnews/mime/src/mimetpla.cpp
+++ b/mailnews/mime/src/mimetpla.cpp
@@ -402,19 +402,16 @@ MimeInlineTextPlain_parse_line (const ch
       prefaceResultStr += "<pre wrap>";
     }
     else if (text->mCiteLevel < oldCiteLevel)
     {
       prefaceResultStr += "</pre>";
       for (PRUint32 i = 0; i < oldCiteLevel - text->mCiteLevel; i++)
         prefaceResultStr += "</blockquote>";
       prefaceResultStr += "<pre wrap>";
-      if (text->mCiteLevel == 0)
-        prefaceResultStr += "<!---->";   /* Make sure, NGLayout puts out
-                                            a linebreak */
     }
 
     // Write plain text quoting tags
     if (logicalLineStart != 0 && !(plainHTML && text->mBlockquoting))
     {
       if (!plainHTML)
         prefaceResultStr += "<span class=\"moz-txt-citetags\">";