mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-05 15:59:45 +00:00
39370: Use format=flowed for quoting
This commit is contained in:
parent
5c91e66869
commit
0beb9ebea4
@ -343,13 +343,8 @@ mime_find_class (const char *content_type, MimeHeaders *hdrs,
|
||||
? MimeHeaders_get_parameter(content_type_row, "format", NULL, NULL)
|
||||
: 0);
|
||||
|
||||
PRBool doFormatFlowed = PR_TRUE;
|
||||
if ( (opts) && ( (opts->format_out == nsMimeOutput::nsMimeMessageQuoting) ||
|
||||
(opts->format_out == nsMimeOutput::nsMimeMessageBodyQuoting)) )
|
||||
doFormatFlowed = PR_FALSE;
|
||||
|
||||
if ( content_type_format && (!nsCRT::strcasecmp(content_type_format, "flowed"))
|
||||
&& doFormatFlowed)
|
||||
if (content_type_format && !nsCRT::strcasecmp(content_type_format,
|
||||
"flowed"))
|
||||
clazz = (MimeObjectClass *)&mimeInlineTextPlainFlowedClass;
|
||||
else
|
||||
clazz = (MimeObjectClass *)&mimeInlineTextPlainClass;
|
||||
|
Loading…
Reference in New Issue
Block a user