Only touch text/plain and text/html parts during Outlook sanitization
parent
64787555ff
commit
19b6704955
|
@ -285,7 +285,8 @@ struct GlobalObjectId {
|
||||||
performed: b];
|
performed: b];
|
||||||
}
|
}
|
||||||
else if ([body isKindOfClass: [NSData class]] &&
|
else if ([body isKindOfClass: [NSData class]] &&
|
||||||
[[[thePart contentType] type] isEqualToString: @"text"])
|
[[[thePart contentType] type] isEqualToString: @"text"] &&
|
||||||
|
([[[thePart contentType] subType] isEqualToString: @"plain"] || [[[thePart contentType] subType] isEqualToString: @"plain"]))
|
||||||
{
|
{
|
||||||
// We make sure everything is encoded in UTF-8
|
// We make sure everything is encoded in UTF-8
|
||||||
NSString *charset, *s;
|
NSString *charset, *s;
|
||||||
|
|
Loading…
Reference in New Issue