We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cf99d1 commit de8028eCopy full SHA for de8028e
lib/internal/Magento/Framework/Simplexml/Element.php
@@ -245,7 +245,7 @@ public function asNiceXml($filename = '', $level = 0)
245
$attributes = $this->attributes();
246
if ($attributes) {
247
foreach ($attributes as $key => $value) {
248
- $out .= ' ' . $key . '="' . str_replace('"', '\"', (string)$value) . '"';
+ $out .= ' ' . $key . '="' . str_replace('"', '\"', $this->xmlentities($value)) . '"';
249
}
250
251
0 commit comments