Browse code

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

Fabien Potencier authored on 29/05/2013 07:18:50
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 ==========
3 3
 
4 4
 The ``format`` filter formats a given string by replacing the placeholders
5
-(placeholders follows the `printf`_ notation):
5
+(placeholders follows the `sprintf`_ notation):
6 6
 
7 7
 .. code-block:: jinja
8 8
 
... ...
@@ -11,6 +11,6 @@ The ``format`` filter formats a given string by replacing the placeholders
11 11
     {# returns I like foo and bar
12 12
        if the foo parameter equals to the foo string. #}
13 13
 
14
-.. _`printf`: http://www.php.net/printf
14
+.. _`sprintf`: http://www.php.net/sprintf
15 15
 
16 16
 .. seealso:: :doc:`replace<replace>`