From: Fabien Potencier Date: Sun, 28 Mar 2010 08:12:04 +0000 (+0200) Subject: fixed doc for the multiply operator which is not able to deal with strings (closes... X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=deee05c5fad63b292fc2bdc5b08c29aa7f55f3bb;p=web%2Fkonrad%2Ftwig.git fixed doc for the multiply operator which is not able to deal with strings (closes #29) --- diff --git a/doc/02-Twig-for-Template-Designers.markdown b/doc/02-Twig-for-Template-Designers.markdown index 134c902..dd69277 100644 --- a/doc/02-Twig-for-Template-Designers.markdown +++ b/doc/02-Twig-for-Template-Designers.markdown @@ -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`.