CodeExplorer strip_attr example
foreach ($this->strip_htmltags
as $tag) { $this->
strip_tag($tag,
$document,
$xpath,
$type);
} } if ($this->strip_attributes
) { foreach ($this->strip_attributes
as $attrib) { $this->
strip_attr($attrib,
$xpath);
} } if ($this->add_attributes
) { foreach ($this->add_attributes
as $tag =>
$valuePairs) { $this->
add_attr($tag,
$valuePairs,
$document);
} }