Parcourir la source

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

Backport of a7baa874d8452859060ecd28c83cecd566f756e3 from main
canhuynh1998 il y a 1 an
Parent
commit
ef23305a19
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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