function _filter_html_escape

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

Related topics

2 string references to '_filter_html_escape'
FilterUnitTest::testHtmlEscapeFilter in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
Tests the HTML escaping filter.
filter_filter_info in drupal/core/modules/filter/filter.module
Implements hook_filter_info().

File

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

Code

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