function _filter_html_escape

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

Related topics

1 call to _filter_html_escape()
FilterHtmlEscape::process in drupal/core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtmlEscape.php
Performs the filter processing.
1 string reference to '_filter_html_escape'
FilterUnitTest::testHtmlEscapeFilter in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
Tests the HTML escaping filter.

File

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

Code

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