From: Fabien Potencier Date: Thu, 19 Jan 2012 09:31:26 +0000 (+0100) Subject: fixed typo in doc (closes #604) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=96596d5c7f6920dc59985c1cba531ae20715baf4;p=web%2Fkonrad%2Ftwig.git fixed typo in doc (closes #604) --- diff --git a/doc/api.rst b/doc/api.rst index 5f0da7b..ebfef3a 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -329,9 +329,9 @@ You can also change the escaping mode locally by using the ``autoescape`` tag: .. code-block:: jinja {% autoescape true %} - {% var %} - {% var|raw %} {# var won't be escaped #} - {% var|escape %} {# var won't be doubled-escaped #} + {{ var }} + {{ var|raw }} {# var won't be escaped #} + {{ var|escape }} {# var won't be doubled-escaped #} {% endautoescape %} .. warning::