diff options
Diffstat (limited to 'mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp')
-rw-r--r-- | mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp b/mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp index de4ec3174..5c56a1809 100644 --- a/mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp +++ b/mailnews/mime/cthandlers/pgpmime/nsPgpMimeProxy.cpp @@ -356,14 +356,14 @@ nsPgpMimeProxy::Finish() { } else { nsCString temp; - temp.Append("Content-Type: text/html\r\nCharset: UTF-8\r\n\r\n<html><body>"); - temp.Append("<BR><text=\"#000000\" bgcolor=\"#FFFFFF\" link=\"#FF0000\" vlink=\"#800080\" alink=\"#0000FF\">"); - temp.Append("<center><table BORDER=1 ><tr><td><CENTER>"); + temp.AppendLiteral("Content-Type: text/html; Charset=utf-8\r\n\r\n<html><body>"); + temp.AppendLiteral("<BR><text=\"#000000\" bgcolor=\"#FFFFFF\" link=\"#FF0000\" vlink=\"#800080\" alink=\"#0000FF\">"); + temp.AppendLiteral("<center><table BORDER=1 ><tr><td><CENTER>"); nsCString tString; PgpMimeGetNeedsAddonString(tString); temp.Append(tString); - temp.Append("</CENTER></td></tr></table></center><BR></body></html>\r\n"); + temp.AppendLiteral("</CENTER></td></tr></table></center><BR></body></html>\r\n"); PR_SetError(0,0); int status = mOutputFun(temp.get(), temp.Length(), mOutputClosure); |