Skip to main content

url_escape

string | url_escape
returns string

Escapes any URL-unsafe characters in a string.

{{ '<p>Health & Love potions</p>' | url_escape }}

Output

%3Cp%3EHealth%20&%20Love%20potions%3C/p%3E
Was this page helpful?