Utility class providing HTML sanityzer
package |
Framework |
---|---|
subpackage |
Utils |
__construct($p = array())
add_callback($tagName, $callback)
wash_style($style)
wash_attribs($node)
dumpHtml($node, $level)
It output only allowed tags with allowed attributes and allowed inline styles
wash($html)
get_config($prop)
cleanup($html)
html_tag_callback($matches)
resolve_base($body)
fix_broken_lists(&$html)
html_elements :
ignore_elements :
html_attribs :
void_elements :
extlinks :
config :
handlers :
_html_elements :
_ignore_elements :
_void_elements :
_html_attribs :
max_nesting_level :