Module askama_shared::filters [] [src]

Module for built-in filter functions

Contains all the built-in filter functions for use in templates. Currently, there is no way to define filters outside this module.

Constants

BUILT_IN_FILTERS

Functions

e

Alias for the escape() filter

escape

Escapes &, < and > in strings

format

Formats arguments according to the specified format

join

Joins iterable into a string separated by provided argument

lower

Converts to lowercase.

lowercase

Alias for the lower() filter.

safe
trim

Strip leading and trailing whitespace.

upper

Converts to uppercase.

uppercase

Alias for the upper() filter.