From: fabien Date: Tue, 22 Dec 2009 15:02:02 +0000 (+0000) Subject: added a not about autoescape and include tags X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=d5d902f17c9ba122af542bd49f54d319cf15f9c7;p=konrad%2Ftwig.git added a not about autoescape and include tags git-svn-id: http://svn.twig-project.org/trunk@205 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- diff --git a/doc/03-Twig-for-Developers.markdown b/doc/03-Twig-for-Developers.markdown index 6f6ae88..c6742d8 100644 --- a/doc/03-Twig-for-Developers.markdown +++ b/doc/03-Twig-for-Developers.markdown @@ -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):