aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/raw.test
blob: 9f1cedd3abf145ebdd09398aa7f4b7dd8aacb817 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--TEST--
"autoescape" tag does not escape when raw is used as a filter
--TEMPLATE--
{% autoescape 'html' %}
{{ var|raw }}
{% endautoescape %}
--DATA--
return array('var' => '<br />')
--EXPECT--
<br />