mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-02 23:34:21 +00:00
Monotone-Parent: e94cb35209635067c1495606f5829d63804b064b
Monotone-Revision: bd9c21b9fbf51f3995be616ac94dc59befa68c6b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-19T21:06:47 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
2006-09-19 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/MailPartViewers/UIxMailPartTextViewer.m
|
||||
([UIxMailPartTextViewer -flatContentAsString]): override method by
|
||||
replacing carriage returns with "<br />" in the result string from
|
||||
super's implementation.
|
||||
|
||||
* UI/Contacts/UIxContactView.m ([UIxContactView
|
||||
-_urlOfType:aType]): don't manage non-mailto urls through
|
||||
javascript, let the user decide what's best for him.
|
||||
|
||||
@@ -40,4 +40,16 @@
|
||||
|
||||
@implementation UIxMailPartTextViewer
|
||||
|
||||
- (NSString *)flatContentAsString
|
||||
{
|
||||
NSString *content;
|
||||
|
||||
content = [[super flatContentAsString] stringByEscapingHTMLString];
|
||||
content = [content stringByReplacingString: @"\r\n"
|
||||
withString: @"<br />"];
|
||||
|
||||
return [content stringByReplacingString: @"\n"
|
||||
withString: @"<br />"];
|
||||
}
|
||||
|
||||
@end /* UIxMailPartTextViewer */
|
||||
|
||||
Reference in New Issue
Block a user