From deee05c5fad63b292fc2bdc5b08c29aa7f55f3bb Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 28 Mar 2010 10:12:04 +0200 Subject: [PATCH] fixed doc for the multiply operator which is not able to deal with strings (closes #29) --- doc/02-Twig-for-Template-Designers.markdown | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) 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`. -- 1.7.2.5