url_ param_ escape
string | url_param_escape
returns string
Escapes any characters in a string that are unsafe for URL parameters.
{{ '<p>Health & Love potions</p>' | url_param_escape }}
{{ '<p>Health & Love potions</p>' | url_param_escape }}
Output
%3Cp%3EHealth%20%26%20Love%20potions%3C/p%3E
Was this page helpful?