function _filter_html_escape
Same name in other branches
- 9 core/modules/filter/filter.module \_filter_html_escape()
- 8.9.x core/modules/filter/filter.module \_filter_html_escape()
- 10 core/modules/filter/filter.module \_filter_html_escape()
- 11.x core/modules/filter/filter.module \_filter_html_escape()
Implements callback_filter_process().
Escapes all HTML tags, so they will be visible instead of being effective.
Related topics
2 string references to '_filter_html_escape'
- FilterUnitTestCase::testHtmlEscapeFilter in modules/
filter/ filter.test - Tests the HTML escaping filter.
- filter_filter_info in modules/
filter/ filter.module - Implements hook_filter_info().
File
-
modules/
filter/ filter.module, line 1783
Code
function _filter_html_escape($text) {
return trim(check_plain($text));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.