From d5d902f17c9ba122af542bd49f54d319cf15f9c7 Mon Sep 17 00:00:00 2001 From: fabien Date: Tue, 22 Dec 2009 15:02:02 +0000 Subject: [PATCH] added a not about autoescape and include tags git-svn-id: http://svn.twig-project.org/trunk@205 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- doc/03-Twig-for-Developers.markdown | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) 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): -- 1.7.2.5