From 685cc49be11bf149ad8d821373d054c6d0bb6d15 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 6 Oct 2010 15:11:15 +0200 Subject: [PATCH] updated doc --- doc/02-Twig-for-Template-Designers.markdown | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/02-Twig-for-Template-Designers.markdown b/doc/02-Twig-for-Template-Designers.markdown index 35a1894..01e61ad 100644 --- a/doc/02-Twig-for-Template-Designers.markdown +++ b/doc/02-Twig-for-Template-Designers.markdown @@ -1059,9 +1059,13 @@ The array can contain any number of values: {{ fruits|cycle(i) }} {% endfor %} -### `urlencode` +### `url_encode` -The `urlencode` filter URL encodes a given string. +The `url_encode` filter URL encodes a given string. + +### `json_encode` + +The `json_encode` filter returns the JSON representation of a string. ### `title` -- 1.7.2.5