зеркало из https://github.com/mozilla/pjs.git
fix for bug #189988
when forwarding plain text emails we'd add a <div> tag around the body of the email, the one that gets generated for message display. r=ducarroz
This commit is contained in:
Родитель
283a4a1a8f
Коммит
910f03e30c
|
@ -634,6 +634,11 @@ mime_find_class (const char *content_type, MimeHeaders *hdrs,
|
|||
clazz = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// see bug #189988
|
||||
if (opts && opts->format_out == nsMimeOutput::nsMimeMessageDecrypt && (clazz != (MimeObjectClass *)&mimeEncryptedCMSClass)) {
|
||||
clazz = (MimeObjectClass *)&mimeExternalObjectClass;
|
||||
}
|
||||
|
||||
if (!exact_match_p)
|
||||
NS_ASSERTION(clazz, "1.1 <rhp@netscape.com> 19 Mar 1999 12:00");
|
||||
|
|
Загрузка…
Ссылка в новой задаче