urlencode
Make a text safe for URLs.
Translates all url unsafe characters in the value to their percent encoding.
For example:
{{ value|urlencode }}
When value is “msg=Hello&World” then the output is “msg%3DHello%26World”.
Make a text safe for URLs.
Translates all url unsafe characters in the value to their percent encoding.
For example:
{{ value|urlencode }}
When value is “msg=Hello&World” then the output is “msg%3DHello%26World”.
Template value transformations for text, collections, dates, numbers, URLs, and other data.