fabpot/Twig — Issue #604: Typo in documentation
Author: mrxotey
Created: 2012-01-19 09:13:29+00:00
State: open

Patch:

Index: doc/api.rst
===================================================================
--- doc/api.rst (revision 1798)
+++ doc/api.rst (working copy)
@@ -329,9 +329,9 @@
.. 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::