Function askama::filters::escape

source ·
pub fn escape<E, T>(e: E, v: T) -> Result<MarkupDisplay<E, T>, Error>
where E: Escaper, T: Display,
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.