added a not about autoescape and include tags
authorfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Tue, 22 Dec 2009 15:02:02 +0000 (15:02 +0000)
committerfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Tue, 22 Dec 2009 15:02:02 +0000 (15:02 +0000)
git-svn-id: http://svn.twig-project.org/trunk@205 93ef8e89-cb99-4229-a87c-7fa0fa45744b

doc/03-Twig-for-Developers.markdown

index 6f6ae88..c6742d8 100644 (file)
@@ -309,6 +309,9 @@ You can also change the escaping mode locally by using the `autoescape` tag:
       {% var|escape %}   {# var won't be doubled-escaped #}
     {% endautoescape %}
 
+>**WARNING**
+>The `autoescape` tag has no effect on included files.
+
 The escaping rules are implemented as follows (it describes the behavior of
 Twig 0.9.5 and above):