Function askama_shared::filters::escape
source · pub fn escape<E, T>(e: E, v: T) -> Result<MarkupDisplay<E, T>>
Expand description
Escapes &
, <
and >
in strings
Askama will automatically insert the first (Escaper
) argument,
so this filter only takes a single argument of any type that implements
Display
.