From 22ef32e5eb2e04d860daa025c5303d4ef8bbfdc7 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 25 Oct 2011 16:33:42 +0200 Subject: [PATCH] added some references to the doc --- doc/filters/json_encode.rst | 6 ++++++ doc/filters/striptags.rst | 3 +-- doc/filters/url_encode.rst | 6 ++++++ 3 files changed, 13 insertions(+), 2 deletions(-) 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 -- 1.7.2.5