projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
34666d4
)
removed obsolete note from the doc
author
Fabien Potencier
<fabien.potencier@gmail.com>
Sun, 9 Jan 2011 06:47:39 +0000 (07:47 +0100)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Sun, 9 Jan 2011 06:47:39 +0000 (07:47 +0100)
doc/templates.rst
patch
|
blob
|
history
diff --git
a/doc/templates.rst
b/doc/templates.rst
index
231c0eb
..
efb15ac
100644
(file)
--- a/
doc/templates.rst
+++ b/
doc/templates.rst
@@
-950,13
+950,6
@@
Arrays and hashes can be nested:
{% set foo = [1, {"foo": "bar"}] %}
-.. caution::
-
- When defining nested hashes, be careful to put at least one whitespace
- between the two closing curly braces like in this example: ``{ 'foo: {
- 'bar': 'foobar' } }``. If not, Twig will interpret ``}}`` as the end of
- the expression.
-
Math
~~~~