зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 77422. Use formatted output to avoid hudge lines. R=varada, SR=mscott
This commit is contained in:
Родитель
35b8bfa64a
Коммит
b592c4915d
|
@ -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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче