pub fn urlencode(val: &str, _: Kwargs, _: &State<'_, '_>) -> String
Percent-encodes reserved URI characters. Matches Python’s urllib.parse.quote behavior with / not escaped.
urllib.parse.quote
/
{{ value | urlencode }}