[][src]Function askama_shared::filters::escape

pub fn escape<E, T>(e: E, v: T) -> Result<MarkupDisplay<E, T>> where
    E: Escaper,
    T: Display

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.