mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Fix bug escaping XML
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24051 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bd2793a0c6
commit
db244b80bd
2 changed files with 7 additions and 2 deletions
|
@ -4139,7 +4139,7 @@ static BOOL warned = NO; if (warned == NO) { warned = YES; NSLog(@"WARNING, use
|
|||
unichar c = from[i];
|
||||
|
||||
if ((c >= 0x20 && c <= 0xd7ff)
|
||||
|| c == 0x9 || c == 0xd || c == 0xd
|
||||
|| c == 0x9 || c == 0xd || c == 0xa
|
||||
|| (c >= 0xe000 && c <= 0xfffd))
|
||||
{
|
||||
switch (c)
|
||||
|
@ -4197,7 +4197,7 @@ static BOOL warned = NO; if (warned == NO) { warned = YES; NSLog(@"WARNING, use
|
|||
unichar c = from[i];
|
||||
|
||||
if ((c >= 0x20 && c <= 0xd7ff)
|
||||
|| c == 0x9 || c == 0xd || c == 0xd
|
||||
|| c == 0x9 || c == 0xd || c == 0xa
|
||||
|| (c >= 0xe000 && c <= 0xfffd))
|
||||
{
|
||||
switch (c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue