1 filter.module | _filter_htmlcorrector($text) |
Implements callback_filter_process().
Scans the input and makes sure that HTML tags are properly closed.
Related topics
File
- core/
modules/ filter/ filter.module, line 2460 - Framework for handling the filtering of content.
Code
function _filter_htmlcorrector($text) {
return filter_dom_serialize(filter_dom_load($text));
}