diff options
Diffstat (limited to 'vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/double_escaping.test')
-rw-r--r-- | vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/double_escaping.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/double_escaping.test b/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/double_escaping.test new file mode 100644 index 00000000..9c097246 --- /dev/null +++ b/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/autoescape/double_escaping.test | |||
@@ -0,0 +1,10 @@ | |||
1 | --TEST-- | ||
2 | "autoescape" tag does not double-escape | ||
3 | --TEMPLATE-- | ||
4 | {% autoescape 'html' %} | ||
5 | {{ var|escape }} | ||
6 | {% endautoescape %} | ||
7 | --DATA-- | ||
8 | return array('var' => '<br />') | ||
9 | --EXPECT-- | ||
10 | <br /> | ||