mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 23:00:27 +02:00
fixed encoding
git-svn-id: trunk@31014 -
This commit is contained in:
parent
657c9e5726
commit
bd0ecad60d
@ -348,7 +348,7 @@ begin
|
|||||||
'"': Sender.wrtStr(QuotStr);
|
'"': Sender.wrtStr(QuotStr);
|
||||||
'&': Sender.wrtStr(AmpStr);
|
'&': Sender.wrtStr(AmpStr);
|
||||||
'<': Sender.wrtStr(ltStr);
|
'<': Sender.wrtStr(ltStr);
|
||||||
// Escape whitespace using CharRefs to be consistent with W3 spec § 3.3.3
|
// Escape whitespace using CharRefs to be consistent with W3 spec § 3.3.3
|
||||||
#0..#15: Sender.wrtStr('&#x'+HexChr[ord(s[idx])]+';');
|
#0..#15: Sender.wrtStr('&#x'+HexChr[ord(s[idx])]+';');
|
||||||
#16..#31: Sender.wrtStr(''+HexChr[ord(s[idx])-16]+';');
|
#16..#31: Sender.wrtStr(''+HexChr[ord(s[idx])-16]+';');
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user