Searched refs:attrib (Results 1 – 2 of 2) sorted by relevance
473 foreach ($this->rename_attributes as $attrib) {474 $this->rename_attr($attrib, $xpath);479 foreach ($this->strip_attributes as $attrib) {480 $this->strip_attr($attrib, $xpath);733 protected function strip_attr(string $attrib, DOMXPath $xpath) argument735 $elements = $xpath->query('//*[@' . $attrib . ']');746 $element->removeAttribute($attrib);753 protected function rename_attr(string $attrib, DOMXPath $xpath) argument755 $elements = $xpath->query('//*[@' . $attrib . ']');766 $element->setAttribute('data-sanitized-' . $attrib, $element->getAttribute($attrib));[all …]
95 foreach ($attribs as $attrib) {96 if (count($attrib) === 2) {97 $attrib[2] = $attrib[1];99 … $return[$i]['attribs'][strtolower($attrib[1])]['data'] = Misc::entities_decode(end($attrib));