mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-29 02:12:54 +08:00
Merge pull request #216 from alexguirre/fix/clip-hash-escaping
Escape ClipBase.Hash when writing XML
This commit is contained in:
commit
11591fa008
@ -3151,7 +3151,7 @@ namespace CodeWalker.GameFiles
|
||||
|
||||
public virtual void WriteXml(StringBuilder sb, int indent)
|
||||
{
|
||||
YcdXml.StringTag(sb, indent, "Hash", YcdXml.HashString(Hash));
|
||||
YcdXml.StringTag(sb, indent, "Hash", MetaXml.XmlEscape(YcdXml.HashString(Hash)));
|
||||
YcdXml.StringTag(sb, indent, "Name", MetaXml.XmlEscape(Name));
|
||||
YcdXml.ValueTag(sb, indent, "Type", Type.ToString());
|
||||
YcdXml.ValueTag(sb, indent, "Unknown30", Unknown_30h.ToString());
|
||||
|
Loading…
Reference in New Issue
Block a user