XML-encode HopObject name to prevent illegal XML to be produced.
This commit is contained in:
parent
19d1f286e9
commit
c48346b4bb
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ public class XmlWriter extends OutputStreamWriter implements XmlConstants {
|
|||
}
|
||||
|
||||
write("\" name=\"");
|
||||
write(node.getName());
|
||||
write(HtmlEncoder.encodeXml(node.getName()));
|
||||
write("\" prototype=\"");
|
||||
write(getNodePrototype(node));
|
||||
write("\" created=\"");
|
||||
|
|
Loading…
Add table
Reference in a new issue