src/Sanitizer.php
protected function isUseTagDirty(\DOMElement $element)
    {
        $xlinks = $element->getAttributeNS('http://www.w3.org/1999/xlink', 'href');
        if ($xlinks && substr($xlinks, 0, 1) !== '#') {
            return true;
        }

        return false;
    }
protected function isUseTagDirty(\DOMElement $element)
    {
        $xlinks = $element->getAttributeNS('http://www.w3.org/1999/xlink', 'href');
        if ($xlinks && substr($xlinks, 0, 1) !== '#') {
            return true;
        }

        return false;
    }
protected function isUseTagDirty ( \ DOMElement $ element ) { $ xlinks = $ element -> getAttributeNS ( 'http://www.w3.org/1999/xlink' , 'href' ) ; if ( $ xlinks && substr ( $ xlinks , 0 , 1 ) !== '#' ) { return true ; } return false ; }
Make sure our use tag is only referencing internal resources

@param \DOMElement $element
@return bool
Make sure our use tag is only referencing internal resources