function _filter_htmlcorrector

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 filter.module _filter_htmlcorrector($text)
cle7 filter.module _filter_htmlcorrector($text)
elmsmedia7 filter.module _filter_htmlcorrector($text)
icor7 filter.module _filter_htmlcorrector($text)
meedjum_blog7 filter.module _filter_htmlcorrector($text)
mooc7 filter.module _filter_htmlcorrector($text)

Implements callback_filter_process().

Scans the input and makes sure that HTML tags are properly closed.

Related topics

3 calls to _filter_htmlcorrector()
drupal_html_to_text in includes/mail.inc
Transforms an HTML string into plain text, preserving its structure.
text_summary in modules/field/modules/text/text.module
Generate a trimmed, formatted version of a text field value.
views_trim_text in sites/all/modules/ulmus/views/views.module
Trim the field down to the specified length.
1 string reference to '_filter_htmlcorrector'
filter_filter_info in modules/filter/filter.module
Implements hook_filter_info().

File

modules/filter/filter.module, line 1675
Framework for handling the filtering of content.

Code

function _filter_htmlcorrector($text) {
  return filter_dom_serialize(filter_dom_load($text));
}