Security update to Drupal 8.4.6
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / autoescape / name.test
1 --TEST--
2 "name" autoescape strategy
3 --TEMPLATE--
4 {{ br -}}
5 {{ include('index.js.twig') -}}
6 {{ include('index.html.twig') -}}
7 {{ include('index.txt.twig') -}}
8 --TEMPLATE(index.js.twig)--
9 {{ br -}}
10 --TEMPLATE(index.html.twig)--
11 {{ br -}}
12 --TEMPLATE(index.txt.twig)--
13 {{ br -}}
14 --DATA--
15 return array('br' => '<br />')
16 --CONFIG--
17 return array('autoescape' => 'name')
18 --EXPECT--
19 &lt;br /&gt;
20 \x3Cbr\x20\x2F\x3E
21 &lt;br /&gt;
22 <br />