mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-07 04:29:40 +01:00
Fixed simple xml nodes to be closed properly
git-svn-id: trunk@35869 -
This commit is contained in:
parent
2af6916164
commit
f242a18097
@ -96,7 +96,10 @@ var
|
||||
w(StrToXMLValue(Element.Attributes[i].NodeValue));
|
||||
w('"');
|
||||
end;
|
||||
w('>');
|
||||
if Node.FirstChild <> nil then
|
||||
w('>')
|
||||
else
|
||||
w('/>');
|
||||
LastNodeWasText:=PreserveSpace;
|
||||
if (Node.FirstChild<>nil) then begin
|
||||
Traverse(Node,PreserveSpace);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user