From a555faec40e0edcfd7dc832c6a8ca6a786c88eab Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 22 Dec 2011 22:48:48 +0100 Subject: [PATCH] updated doc --- doc/templates.rst | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/doc/templates.rst b/doc/templates.rst index a72ab7a..9e4fd29 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -476,7 +476,8 @@ exist: * ``{"foo": "bar"}``: Hashes are defined by a list of keys and values separated by a comma (``,``) and wrapped with curly braces (``{}``). A value - can be any valid expression. + can be any valid expression (as of Twig 1.5, keys can also be any valid + expression). * ``true`` / ``false``: ``true`` represents the true value, ``false`` represents the false value. -- 1.7.2.5