diff options
author | 2013-11-13 00:54:48 -0800 | |
---|---|---|
committer | 2013-11-13 00:54:48 -0800 | |
commit | ad387cce77cf788fbad2da27c987f78dac4db477 (patch) | |
tree | b48972ce664ef60838cfd118b293923dc829a11d /src/objc/rfc822/MCOMessageParser.mm | |
parent | 257a7818f58ee67953e91e381dc3e28a41f14845 (diff) |
Fixed #260: added ability to render a message without stripping spaces
Diffstat (limited to 'src/objc/rfc822/MCOMessageParser.mm')
-rw-r--r-- | src/objc/rfc822/MCOMessageParser.mm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/objc/rfc822/MCOMessageParser.mm b/src/objc/rfc822/MCOMessageParser.mm index 8e3f1261..78b84c78 100644 --- a/src/objc/rfc822/MCOMessageParser.mm +++ b/src/objc/rfc822/MCOMessageParser.mm @@ -81,7 +81,12 @@ - (NSString *) plainTextBodyRendering { - return MCO_OBJC_BRIDGE_GET(plainTextBodyRendering); + return [self plainTextBodyRenderingAndStripWhitespace:YES]; +} + +- (NSString *) plainTextBodyRenderingAndStripWhitespace:(BOOL)stripWhitespace +{ + return MCO_TO_OBJC(MCO_NATIVE_INSTANCE->plainTextBodyRendering(stripWhitespace)); } @end |