From c31dd7bccbb0ccf7498b0b95aedc6cebf1cfd304 Mon Sep 17 00:00:00 2001 From: Albert Casademont Date: Thu, 19 Jul 2012 14:00:01 +0300 Subject: [PATCH] The empty test now also checks for empty arrays --- doc/tests/empty.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tests/empty.rst b/doc/tests/empty.rst index 0d1eb3234..5ef3035fa 100644 --- a/doc/tests/empty.rst +++ b/doc/tests/empty.rst @@ -5,7 +5,7 @@ .. code-block:: jinja - {# evaluates to true if the foo variable is null, false, or the empty string #} + {# evaluates to true if the foo variable is null, false, an empty array or the empty string #} {% if foo is empty %} ... {% endif %}