Modifiers

sanitize

The sanitize modifier cleans a value as plain text.

Example#

php
{{ input | sanitize }}

Use it for values that should be treated like text input. sanitize does not take an argument.