Modifier: sanitize
Convert special characters to HTML entities with htmlspecialchars.
example: <b>NEAT</b>
{{ example | sanitize }}
<b>NEAT<b>
Additional Reading
Learn how to use and chain modifiers in the Antlers template guide.