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