diff --git a/UI/Contacts/UIxContactView.m b/UI/Contacts/UIxContactView.m index 33742809e..d0a3ab648 100644 --- a/UI/Contacts/UIxContactView.m +++ b/UI/Contacts/UIxContactView.m @@ -20,12 +20,13 @@ */ // $Id: UIxContactView.m 932 2005-08-01 13:17:55Z helge $ +#import #import #import #import +#import -#import #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: @"
"]; + note = [note stringByReplacingString: @"\n" + withString: @"
"]; + } + + return [self _cardStringWithLabel: @"Note: " value: note]; } /* hrefs */