summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-03-22 16:33:37 +0100
committerClaude Paroz <claude@2xlibre.net>2014-03-22 16:39:46 +0100
commitbc315266c86f371ab04d05c43383775267e8595a (patch)
tree418996f961b6c4600ebe4cac60707f7184fdfc56 /docs
parent6a0291bdaf43e5467a524dcc67f85b55f36fe46f (diff)
Fixed #22294 -- Prevented converting length filter output to string
Thanks Steve Pike for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/templates/builtins.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index 34dd42252a..b5734f234f 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -1680,7 +1680,8 @@ For example::
{{ value|length }}
-If ``value`` is ``['a', 'b', 'c', 'd']``, the output will be ``4``.
+If ``value`` is ``['a', 'b', 'c', 'd']`` or ``"abcd"``, the output will be
+``4``.
.. templatefilter:: length_is
@@ -1693,7 +1694,8 @@ For example::
{{ value|length_is:"4" }}
-If ``value`` is ``['a', 'b', 'c', 'd']``, the output will be ``True``.
+If ``value`` is ``['a', 'b', 'c', 'd']`` or ``"abcd"``, the output will be
+``True``.
.. templatefilter:: linebreaks