Fix for bug 77422. Use formatted output to avoid hudge lines. R=varada, SR=mscott

This commit is contained in:
ducarroz%netscape.com 2001-05-04 00:35:14 +00:00
Родитель 35b8bfa64a
Коммит b592c4915d
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -73,6 +73,7 @@
#include "nsMimeTypes.h" #include "nsMimeTypes.h"
#include "nsISmtpUrl.h" #include "nsISmtpUrl.h"
#include "nsIInterfaceRequestor.h" #include "nsIInterfaceRequestor.h"
#include "nsIDocumentEncoder.h" // for editor output flags
// use these macros to define a class IID for our component. Our object currently // use these macros to define a class IID for our component. Our object currently
@ -1263,7 +1264,7 @@ nsMsgComposeAndSend::GetBodyFromEditor()
// Query the editor, get the body of HTML! // Query the editor, get the body of HTML!
// //
nsString format; format.AssignWithConversion(TEXT_HTML); nsString format; format.AssignWithConversion(TEXT_HTML);
PRUint32 flags = 0; PRUint32 flags = nsIDocumentEncoder::OutputFormatted;
PRUnichar *bodyText = nsnull; PRUnichar *bodyText = nsnull;
nsresult rv; nsresult rv;
PRUnichar *origHTMLBody = nsnull; PRUnichar *origHTMLBody = nsnull;