processes a HTML string(3) returns clean XHTML

_start_handler

internal method for processing html open tags

_end_handler

internal method for processing html end tags

_text_handler

internal method for processing text events

_handle_attributes()

internal method for processing attributes of html tags

_filter_discard

html tag filter: discards the tag

_filter_tag_style

html tag filter: processes style tags

_filter_tag_style_text

html tag filter: processes content of style tags

_filter_tag_img

html tag filter: processes img tags

_filter_tag_font

html tag filter: processes font tags, converts them to span tags

_filter_tag_b

html tag filter: processes b tags, converts them to span tags

_filter_tag_table

html tag filter: processes table tags

_filter_tag_td

html tag filter: processes table data tags

_filter_tag_font_end

html tag filter: processes font end tag, converts to span tag

_filter_tag_b_end

html tag filter: processes b end tag, converts to span tag

_filter_tag_center

html tag filter: processes center tag, converts to div tag

_filter_tag_center_end

html tag filter: processes center end tag, converts to div tag

_filter_style

style filter: processes CSS