fix_ampersands

Replaces ampersands in the value with “&” entities.

For example:

{{ value|fix_ampersands }}

When the value is hel&lo then the output is hel&lo.

See also

escape

Previous topic

first

Next topic

force_escape

Versions

Actions