From: Fabien Potencier Date: Thu, 22 Dec 2011 21:48:48 +0000 (+0100) Subject: updated doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=a555faec40e0edcfd7dc832c6a8ca6a786c88eab;p=web%2Fkonrad%2Ftwig.git updated doc --- 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.