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.
2 parents 9e4d0dd + f601421 commit 2caf520Copy full SHA for 2caf520
src/Common/XMLReader.php
@@ -71,11 +71,11 @@ public function getDomFromZip($zipFile, $xmlFile)
71
*/
72
public function getDomFromString($content)
73
{
74
- $originalLibXMLEntityValue = libxml_disable_entity_loader();
75
- libxml_disable_entity_loader(true);
+ $originalLibXMLEntityValue = libxml_disable_entity_loader(true);
76
$this->dom = new \DOMDocument();
77
$this->dom->loadXML($content);
78
libxml_disable_entity_loader($originalLibXMLEntityValue);
+
79
return $this->dom;
80
}
81
0 commit comments