fixed doc for the multiply operator which is not able to deal with strings (closes...
authorFabien Potencier <fabien.potencier@gmail.com>
Sun, 28 Mar 2010 08:12:04 +0000 (10:12 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Sun, 28 Mar 2010 08:12:04 +0000 (10:12 +0200)
doc/02-Twig-for-Template-Designers.markdown

index 134c902..dd69277 100644 (file)
@@ -819,8 +819,7 @@ but exists for completeness' sake. The following operators are supported:
    7 }}` is `2`.
 
  * `*`: Multiply the left operand with the right one. `{{ 2 * 2 }}` would
-   return `4`. This can also be used to repeat a string multiple times. `{{
-   '=' * 80 }}` would print a bar of 80 equal signs.
+   return `4`.
 
  * `**`: Raise the left operand to the power of the right operand. `{{ 2**3
    }}` would return `8`.