projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
tags
/
autoescape
/
strategy.test
1
--TEST--
2
"autoescape" tag accepts an escaping strategy
3
--TEMPLATE--
4
{% autoescape 'js' %}{{ var }}{% endautoescape %}
5
6
{% autoescape 'html' %}{{ var }}{% endautoescape %}
7
--DATA--
8
return array('var' => '<br />"')
9
--EXPECT--
10
\x3Cbr\x20\x2F\x3E\x22
11
<br />"