PHP Classes

File: libs/Twig/test/Twig/Tests/Fixtures/tags/autoescape/nested.test

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Twig/test/Twig/Tests/Fixtures/tags/autoescape/nested.test   Download  
File: libs/Twig/test/Twig/Tests/Fixtures/tags/autoescape/nested.test
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 454 bytes
 

Contents

Class file image Download
--TEST-- "autoescape" tags can be nested at will --TEMPLATE-- {{ var }} {% autoescape 'html' %} {{ var }} {% autoescape false %} {{ var }} {% autoescape 'html' %} {{ var }} {% endautoescape %} {{ var }} {% endautoescape %} {{ var }} {% endautoescape %} {{ var }} --DATA-- return array('var' => '<br />') --EXPECT-- &lt;br /&gt; &lt;br /&gt; <br /> &lt;br /&gt; <br /> &lt;br /&gt; &lt;br /&gt;