mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 05:49:36 +02:00
* Fixed CDATA section splitting which got broken due to excessive optimization in r14194.
git-svn-id: trunk@14648 -
This commit is contained in:
parent
61f8a71380
commit
a24b84c11b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user