Fixed broken encoding of single-value element
parent
a1cf066828
commit
f7a20d0a83
|
@ -218,11 +218,11 @@ static NSArray *privilegedTagNames = nil;
|
||||||
length: contentLength];
|
length: contentLength];
|
||||||
free (content);
|
free (content);
|
||||||
content = NULL;
|
content = NULL;
|
||||||
// NSLog (@"content: '%@'", s);
|
//NSLog(@"content: '%@'", s);
|
||||||
if ([privilegedTagNames containsObject: [currentElement tag]])
|
if ([privilegedTagNames containsObject: [currentElement tag]])
|
||||||
contentValues = [s vCardSubvalues];
|
contentValues = [s vCardSubvalues];
|
||||||
else
|
else
|
||||||
contentValues = [NSMutableDictionary dictionaryWithObject: [NSMutableArray arrayWithObject: [NSMutableArray arrayWithObject: s]]
|
contentValues = [NSMutableDictionary dictionaryWithObject: [NSMutableArray arrayWithObject: [s asCardAttributeValues]]
|
||||||
forKey: @""];
|
forKey: @""];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue