url_escape
Filter
Replaces all characters not allowed in URLs with their URL-encoded equivalents.
Parameters
None.
Category
Description
Replaces all characters not allowed in URLs with their URL-encoded equivalents.
{{ '<hello> & <liveeditor>' | url_escape }}
Example Output
%3Chello%3E%20&%20%3Cliveeditor%3E