mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 20:36:38 +02:00
lazutils: xmlread: preserve whitespace between attributes
git-svn-id: trunk@42167 -
This commit is contained in:
parent
15044a3da0
commit
b0d883f915
@ -1987,7 +1987,7 @@ begin
|
|||||||
FSource.NextChar;
|
FSource.NextChar;
|
||||||
if (wc = Delim) and (FSource.FEntity = start) then
|
if (wc = Delim) and (FSource.FEntity = start) then
|
||||||
Break;
|
Break;
|
||||||
if (wc = #10) or (wc = #9) or (wc = #13) then
|
if (not FPreserveWhitespace) and (ord(wc) in [9,10,13]) then
|
||||||
wc := #32;
|
wc := #32;
|
||||||
BufAppend(FValue, wc);
|
BufAppend(FValue, wc);
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user