projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Security update to Drupal 8.4.6
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
filters
/
force_escape.test
1
--TEST--
2
"escape" filter
3
--TEMPLATE--
4
{% set foo %}
5
foo<br />
6
{% endset %}
7
8
{{ foo|e('html') -}}
9
{{ foo|e('js') }}
10
{% autoescape true %}
11
{{ foo }}
12
{% endautoescape %}
13
--DATA--
14
return array()
15
--EXPECT--
16
foo<br />
17
\x20\x20\x20\x20foo\x3Cbr\x20\x2F\x3E\x0A
18
foo<br />