Make a text safe for URLs.
Translates all url unsafe characters in the value to their percent encoding.
When value is “msg=Hello&World” then the output is “msg%3DHello%26World”.
Edit on GitHub
URLs and links
Filters transform template variables before they are rendered.