fix(if): Empty strings should be falsy

This commit is contained in:
Kyle Fuller
2016-11-28 17:25:16 +00:00
parent 3eb2657a62
commit 111306fb60
4 changed files with 13 additions and 166 deletions

View File

@@ -48,6 +48,7 @@ true the contents of the block are processed. Being true is defined as:
* Being non-empty (dictionaries or arrays)
* Not being a false boolean value
* Not being a numerical value of 0 or below
* Not being an empty string
.. code-block:: html+django