Browse Source

[5.0.x] Fixed #35280 -- Improved iriencode filter example in docs.

Backport of a7baa874d8452859060ecd28c83cecd566f756e3 from main
canhuynh1998 1 year ago
parent
commit
ef23305a19
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/ref/templates/builtins.txt

+ 2 - 1
docs/ref/templates/builtins.txt

@@ -2079,7 +2079,8 @@ For example:
 
     {{ value|iriencode }}
 
-If ``value`` is ``"?test=1&me=2"``, the output will be ``"?test=1&me=2"``.
+If ``value`` is ``"?test=I ♥ Django"``, the output will be
+``"?test=I%20%E2%99%A5%20Django"``.
 
 .. templatefilter:: join