function _filter_html_escape in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/filter/filter.module \_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 core/
modules/ filter/ src/ Plugin/ Filter/ FilterHtmlEscape.php - Performs the filter processing.
File
- core/
modules/ filter/ filter.module, line 759 - Framework for handling the filtering of content.
Code
function _filter_html_escape($text) {
return trim(Html::escape($text));
}