Fixed broken encoding of single-value element

pull/17/merge
Ludovic Marcotte 2014-02-05 15:23:09 -05:00
parent a1cf066828
commit f7a20d0a83
1 changed files with 2 additions and 2 deletions

View File

@ -218,11 +218,11 @@ static NSArray *privilegedTagNames = nil;
length: contentLength];
free (content);
content = NULL;
// NSLog (@"content: '%@'", s);
//NSLog(@"content: '%@'", s);
if ([privilegedTagNames containsObject: [currentElement tag]])
contentValues = [s vCardSubvalues];
else
contentValues = [NSMutableDictionary dictionaryWithObject: [NSMutableArray arrayWithObject: [NSMutableArray arrayWithObject: s]]
contentValues = [NSMutableDictionary dictionaryWithObject: [NSMutableArray arrayWithObject: [s asCardAttributeValues]]
forKey: @""];
}
else