mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-22 09:56:23 +00:00
Monotone-Parent: 8ea262b5fc027ba0d5aabcee59dcaec6c7f51cf1
Monotone-Revision: a520711e0a93bd5fa2c3ea213699ee5de9e4ab5e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-19T14:09:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -20,12 +20,13 @@
|
||||
*/
|
||||
// $Id: UIxContactView.m 932 2005-08-01 13:17:55Z helge $
|
||||
|
||||
#import <Contacts/SOGoContactObject.h>
|
||||
|
||||
#import <NGCards/NGVCard.h>
|
||||
#import <NGCards/CardElement.h>
|
||||
#import <NGCards/NSArray+NGCards.h>
|
||||
#import <NGExtensions/NSString+Ext.h>
|
||||
|
||||
#import <Contacts/SOGoContactObject.h>
|
||||
#import "common.h"
|
||||
|
||||
#import "UIxContactView.h"
|
||||
@@ -390,7 +391,18 @@
|
||||
|
||||
- (NSString *) note
|
||||
{
|
||||
return [self _cardStringWithLabel: @"Note: " value: [card note]];
|
||||
NSString *note;
|
||||
|
||||
note = [card note];
|
||||
if (note)
|
||||
{
|
||||
note = [note stringByReplacingString: @"\r\n"
|
||||
withString: @"<br />"];
|
||||
note = [note stringByReplacingString: @"\n"
|
||||
withString: @"<br />"];
|
||||
}
|
||||
|
||||
return [self _cardStringWithLabel: @"Note: " value: note];
|
||||
}
|
||||
|
||||
/* hrefs */
|
||||
|
||||
Reference in New Issue
Block a user