1 filter.module _filter_html_escape($text)

Implements callback_filter_process().

Escapes all HTML tags, so they will be visible instead of being effective.

Related topics

File

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

Code

function _filter_html_escape($text) {
  return trim(check_plain($text));
}