Docs: Add filter "urlencode" with example (#74034)

* Add example for URLENCODE filter
pull/70819/head
saruter 4 years ago committed by GitHub
parent eb631c1881
commit 73c08df2db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1405,6 +1405,14 @@ which produces this output:
# host: myhost
#
URLEncode Variables
-------------------
The ``urlencode`` filter quotes data for use in a URL path or query using UTF-8::
{{ 'Trollhättan' | urlencode }}
# => 'Trollh%C3%A4ttan'
Splitting URLs
--------------

Loading…
Cancel
Save