Function minijinja::filters::urlencode[][src]

pub fn urlencode(_: &State<'_, '_>, value: Value) -> Result<String, Error>
This is supported on crate features builtin_filters and urlencode only.
Expand description

URL encodes a value.

If given a map it encodes the parameters into a query set, otherwise it encodes the stringified value. If the value is none or undefined, an empty string is returned.