Modifier: rawurlencode


URL-encode a variable according to RFC 3986.

example: please and thank you/Mommy
http://example.com/{{ example | rawurlencode }}
http://example.com/please%20and%thank&20you%2FMommy

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016