From: Fabien Potencier Date: Sun, 4 Jul 2010 16:45:09 +0000 (+0200) Subject: fixed doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=35290cd5ad1abe928a21d82cf9ac9d7db41e6127;p=web%2Fkonrad%2Ftwig.git fixed doc --- diff --git a/doc/02-Twig-for-Template-Designers.markdown b/doc/02-Twig-for-Template-Designers.markdown index 552b85a..cc60bf9 100644 --- a/doc/02-Twig-for-Template-Designers.markdown +++ b/doc/02-Twig-for-Template-Designers.markdown @@ -917,7 +917,7 @@ exist: 'foo', 'bar': 'bar']`. You can even mix and match both syntaxes: `['foo': 'foo', 'bar']`. - * `true` / `false` / `none`: `true` represents the true value, `false` + * `true` / `false`: `true` represents the true value, `false` represents the false value. * `none`: `none` represents no specific value (the equivalent of `null` in @@ -928,8 +928,8 @@ exist: Twig allows you to calculate with values. This is rarely useful in templates but exists for completeness' sake. The following operators are supported: - * `+`: Adds two objects together (the operands are casted to numbers). `{{ 1 - + 1 }}` is `2`. + * `+`: Adds two objects together (the operands are casted to numbers). + `{{ 1 + 1 }}` is `2`. * `-`: Substract the second number from the first one. `{{ 3 - 2 }}` is `1`.