fix DOM element namespace URL access
This commit is contained in:
parent
cafbdb73e8
commit
429bddf96b
@ -672,7 +672,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($alias->childNodes as $child) {
|
foreach ($alias->childNodes as $child) {
|
||||||
if (!$child instanceof \DOMElement && self::NS !== $child->namespaceURI) {
|
if (!$child instanceof \DOMElement || self::NS !== $child->namespaceURI) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!\in_array($child->localName, ['deprecated'], true)) {
|
if (!\in_array($child->localName, ['deprecated'], true)) {
|
||||||
|
Reference in New Issue
Block a user