fixed encoding

git-svn-id: trunk@31014 -
This commit is contained in:
mattias 2011-06-02 19:14:01 +00:00
parent 657c9e5726
commit bd0ecad60d

View File

@ -348,7 +348,7 @@ begin
'"': Sender.wrtStr(QuotStr);
'&': Sender.wrtStr(AmpStr);
'<': 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])]+';');
#16..#31: Sender.wrtStr('&#x1'+HexChr[ord(s[idx])-16]+';');
else