From 5746c111539a3069535390b738f7db4aec5415ab Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Wed, 29 May 2013 04:15:52 -0300 Subject: [PATCH] change mention of print to sprintf in format filter The format specifiers are actually mentioned on the [sprintf(http://php.net/sprintf)] page --- doc/filters/format.rst | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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` -- 1.7.2.5