xml_escape
x | xml_escapeDrops the characters XML forbids, then escapes & < > " ', tab, newline and CR (" ' 	 
 
, Go’s xml.EscapeText) even when the input is safe; the result is safe.
Details#
- Kind: Filter, implemented by fugo.
- Available in: every kind of template: layouts, partials, shortcodes and render hooks.
- Output: safe HTML, not escaped.