Added "pre_escape" option for filters
authorArnaud Le Blanc <arnaud.lb@gmail.com>
Tue, 16 Nov 2010 20:15:15 +0000 (21:15 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Sun, 28 Nov 2010 07:14:32 +0000 (08:14 +0100)
commitd35e19fe22caed297039d0dd8a3353f8dc33432b
tree32031de322737391a8b0131981180e9073f0e954
parentf103997b3fcce2aa9c695e3c7cc79fb52a3410c1
Added "pre_escape" option for filters

This allows filters to get their input pre-escaped for a given context
lib/Twig/Filter.php
lib/Twig/FilterInterface.php
lib/Twig/NodeVisitor/Escaper.php
test/Twig/Tests/Fixtures/tags/autoescape/with_filters.test
test/Twig/Tests/Fixtures/tags/autoescape/with_pre_escape_filters.test [new file with mode: 0644]
test/Twig/Tests/integrationTest.php