Home
last modified time | relevance | path

Searched refs:attrib (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/vendor/simplepie/simplepie/src/
H A DSanitize.php473 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) argument
735 $elements = $xpath->query('//*[@' . $attrib . ']');
746 $element->removeAttribute($attrib);
753 protected function rename_attr(string $attrib, DOMXPath $xpath) argument
755 $elements = $xpath->query('//*[@' . $attrib . ']');
766 $element->setAttribute('data-sanitized-' . $attrib, $element->getAttribute($attrib));
[all …]
H A DMisc.php95 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));