From af48e18f3a8aa0ed69a537119e271864a4b17995 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 9 Nov 2011 20:48:20 +0000 Subject: [PATCH] Monotone-Parent: e5a4a8243c282c12538ab38c9b5c23722be35e99 Monotone-Revision: d9bec826cdc8df69ea27563722cd678c85ebcf20 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-11-09T20:48:20 Monotone-Branch: ca.inverse.sogo --- SOPE/NGCards/ChangeLog | 6 ++++++ SOPE/NGCards/NSString+NGCards.m | 4 ++-- SOPE/NGCards/iCalEntityObject.m | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/SOPE/NGCards/ChangeLog b/SOPE/NGCards/ChangeLog index e176b447f..67f5bfa01 100644 --- a/SOPE/NGCards/ChangeLog +++ b/SOPE/NGCards/ChangeLog @@ -1,3 +1,9 @@ +2011-11-09 Wolfgang Sourdeau + + * NSString+NGCards.m (-escapedForCards): restored the escaping of + commas, since they might be used in fields such as + COMMENT/DESCRIPTION (iCalendar) or NOTE (vCards) + 2011-09-20 Wolfgang Sourdeau * iCalToDo.m (-setCompleted:): (hack) when invoked with a nil diff --git a/SOPE/NGCards/NSString+NGCards.m b/SOPE/NGCards/NSString+NGCards.m index 0387b9b6e..7614e100a 100644 --- a/SOPE/NGCards/NSString+NGCards.m +++ b/SOPE/NGCards/NSString+NGCards.m @@ -156,8 +156,8 @@ string = [self stringByReplacingString: @"\\" withString: @"\\\\"]; - // string = [string stringByReplacingString: @"," - // withString: @"\\,"]; + string = [string stringByReplacingString: @"," + withString: @"\\,"]; // string = [string stringByReplacingString: @":" // withString: @"\\:"]; string = [string stringByReplacingString: @";" diff --git a/SOPE/NGCards/iCalEntityObject.m b/SOPE/NGCards/iCalEntityObject.m index bbe7fa262..9aba6a262 100644 --- a/SOPE/NGCards/iCalEntityObject.m +++ b/SOPE/NGCards/iCalEntityObject.m @@ -102,6 +102,7 @@ return [[self uniqueChildWithTag: @"location"] value: 0]; } +#warning the "comment" accessors are actually "description" accessors, the "comment" ones are missing - (void) setComment: (NSString *) _value { [[self uniqueChildWithTag: @"description"] setValue: 0 to: _value];