Fixed previous commit

pull/30/head
Ludovic Marcotte 2014-03-21 09:05:52 -04:00
parent 19b6704955
commit 4ca3d351e0
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ struct GlobalObjectId {
}
else if ([body isKindOfClass: [NSData class]] &&
[[[thePart contentType] type] isEqualToString: @"text"] &&
([[[thePart contentType] subType] isEqualToString: @"plain"] || [[[thePart contentType] subType] isEqualToString: @"plain"]))
([[[thePart contentType] subType] isEqualToString: @"plain"] || [[[thePart contentType] subType] isEqualToString: @"html"]))
{
// We make sure everything is encoded in UTF-8
NSString *charset, *s;