* Fixed CDATA section splitting which got broken due to excessive optimization in r14194.

git-svn-id: trunk@14648 -
This commit is contained in:
sergei 2010-01-14 21:38:22 +00:00
parent 61f8a71380
commit a24b84c11b

View File

@ -319,7 +319,7 @@ begin
EndPos := 1;
while EndPos <= Length(s) do
begin
if (s[EndPos] < 'A') and (Char(ord(s[EndPos])) in SpecialChars) then
if (s[EndPos] < #128) and (Char(ord(s[EndPos])) in SpecialChars) then
begin
wrtChars(@s[StartPos], EndPos - StartPos);
SpecialCharCallback(Self, s, EndPos);