From ef23305a19c39b26bc25e2df68355743652e77ab Mon Sep 17 00:00:00 2001 From: canhuynh1998 Date: Fri, 8 Mar 2024 22:58:20 -0800 Subject: [PATCH] [5.0.x] Fixed #35280 -- Improved iriencode filter example in docs. Backport of a7baa874d8452859060ecd28c83cecd566f756e3 from main --- docs/ref/templates/builtins.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 8a2b714135..9ae51b31cc 100644 --- a/docs/ref/templates/builtins.txt +++ b/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