Fixed typo (escaping strategy).
authorAhmed Siouani <ahmed.siouani@gmail.com>
Tue, 29 Apr 2014 15:56:23 +0000 (17:56 +0200)
committerAhmed Siouani <ahmed.siouani@gmail.com>
Tue, 29 Apr 2014 15:56:23 +0000 (17:56 +0200)
doc/internals.rst

index 16f425a..a68796b 100644 (file)
@@ -124,7 +124,7 @@ using)::
         {
             // line 1
             echo "Hello ";
-            echo twig_escape_filter($this->env, $this->getContext($context, "name"), "ndex", null, true);
+            echo twig_escape_filter($this->env, $this->getContext($context, "name"), "html", null, true);
         }
 
         // some more code