added some references to the doc

This commit is contained in:
Fabien Potencier
2011-10-25 16:33:42 +02:00
parent 08f125395c
commit 22ef32e5eb
3 changed files with 13 additions and 2 deletions
+6
View File
@@ -6,3 +6,9 @@ The ``json_encode`` filter returns the JSON representation of a string:
.. code-block:: jinja
{{ data|json_encode() }}
.. note::
Internally, Twig uses the PHP `json_encode`_ function.
.. _`json_encode`: http://php.net/json_encode
+1 -2
View File
@@ -10,7 +10,6 @@ by one space:
.. note::
Internally, Twig uses the PHP `strip_tags`_ function to maintain index
association.
Internally, Twig uses the PHP `strip_tags`_ function.
.. _`strip_tags`: http://php.net/strip_tags
+6
View File
@@ -6,3 +6,9 @@ The ``url_encode`` filter URL encodes a given string:
.. code-block:: jinja
{{ data|url_encode() }}
.. note::
Internally, Twig uses the PHP `urlencode`_ function.
.. _`urlencode`: http://php.net/urlencode