merged branch jrobeson/patch-1 (PR #1108)

This PR was merged into the master branch.

Discussion
----------

change mention of print to sprintf in format filter

The format specifiers are actually mentioned on the [sprintf](http://php.net/sprintf) page

Commits
-------

5746c11 change mention of print to sprintf in format filter
This commit is contained in:
Fabien Potencier
2013-05-29 09:18:50 +02:00
+2 -2
View File
@@ -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<replace>`