mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-08 21:37:15 +00:00
Refactored code to be more rigorous Unicode-wise.
This commit is contained in:
1 parent
1c60ab2337
commit
3675220756
4 files changed
+49
-31
No files matched your search
@@ -2081,8 +2081,7 @@ static NSArray *childRecordFields = nil;
|
||||
// Make sure the sent value is sanitized.
|
||||
NSString *sanitizedValue;
|
||||
|
||||
sanitizedValue = [[*currentValue componentsSeparatedByCharactersInSet: [*currentValue safeCharacterSet]]
|
||||
componentsJoinedByString: @""];
|
||||
sanitizedValue = [*currentValue safeString];
|
||||
propertyValue = [NSString stringWithFormat: @"<%@>%@</%@>",
|
||||
nodeTag, sanitizedValue, nodeTag];
|
||||
propDict = properties200;
|
||||
|
||||
Reference in new issue
Block a user