Implements callback_filter_process().
Scans the input and makes sure that HTML tags are properly closed.
function _filter_htmlcorrector($text) { return filter_dom_serialize(filter_dom_load($text)); }