From 68caf033cfaf5d73a287155de12891a5fb4e8776 Mon Sep 17 00:00:00 2001 From: "nhotta%netscape.com" Date: Mon, 1 May 2000 21:59:49 +0000 Subject: [PATCH] Changed to use "pre", fixing a remaining part of the last change, bug 37299. git-svn-id: svn://10.0.0.236/trunk@67753 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/mime/src/mimemoz2.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mozilla/mailnews/mime/src/mimemoz2.cpp b/mozilla/mailnews/mime/src/mimemoz2.cpp index 1d98e5b9531..236e9213953 100644 --- a/mozilla/mailnews/mime/src/mimemoz2.cpp +++ b/mozilla/mailnews/mime/src/mimemoz2.cpp @@ -1862,8 +1862,12 @@ static int DoLanguageSensitiveFont(MimeObject *obj, const char *prefixName, cons done: // if nothing has been written then write out just "
" to match with "
" - if (status == -1) - status = MimeObject_write(obj, "
\n", 6, PR_FALSE); + if (status == -1) { + if (!nsCRT::strcasecmp(obj->content_type, TEXT_HTML)) + status = MimeObject_write(obj, "
", 5, PR_FALSE); + else + status = MimeObject_write(obj, "
", 5, PR_FALSE);
+  }
 
   return status;
 }