From: Fabien Potencier Date: Tue, 25 Oct 2011 14:33:42 +0000 (+0200) Subject: added some references to the doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=22ef32e5eb2e04d860daa025c5303d4ef8bbfdc7;p=web%2Fkonrad%2Ftwig.git added some references to the doc --- diff --git a/doc/filters/json_encode.rst b/doc/filters/json_encode.rst index 24b479f..c7d19b3 100644 --- a/doc/filters/json_encode.rst +++ b/doc/filters/json_encode.rst @@ -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 diff --git a/doc/filters/striptags.rst b/doc/filters/striptags.rst index 7a3d9dd..5ccca45 100644 --- a/doc/filters/striptags.rst +++ b/doc/filters/striptags.rst @@ -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 diff --git a/doc/filters/url_encode.rst b/doc/filters/url_encode.rst index 17204dc..c141f3b 100644 --- a/doc/filters/url_encode.rst +++ b/doc/filters/url_encode.rst @@ -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