This commit is contained in:
2020-11-17 16:47:12 +08:00
parent 335de2c530
commit 54ff4f29cc
+1 -1
View File
@@ -75,7 +75,7 @@ class XmlFormatter extends Application implements IFormatter
$node = $dom->addChild($key);
$this->toXml($node, $val);
} else {
$dom->addChild($key, $val);
$dom->addChild($key, htmlspecialchars((string)$val));
}
}
}