From: Johnny Robeson Date: Wed, 29 May 2013 07:15:52 +0000 (-0300) Subject: change mention of print to sprintf in format filter X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=5746c111539a3069535390b738f7db4aec5415ab;p=konrad%2Ftwig.git change mention of print to sprintf in format filter The format specifiers are actually mentioned on the [sprintf(http://php.net/sprintf)] page --- diff --git a/doc/filters/format.rst b/doc/filters/format.rst index fd5b18d..fe55a09 100644 --- a/doc/filters/format.rst +++ b/doc/filters/format.rst @@ -2,7 +2,7 @@ ========== The ``format`` filter formats a given string by replacing the placeholders -(placeholders follows the `printf`_ notation): +(placeholders follows the `sprintf`_ notation): .. code-block:: jinja @@ -11,6 +11,6 @@ The ``format`` filter formats a given string by replacing the placeholders {# returns I like foo and bar if the foo parameter equals to the foo string. #} -.. _`printf`: http://www.php.net/printf +.. _`sprintf`: http://www.php.net/sprintf .. seealso:: :doc:`replace`