deeply mark expressions as safe (e.g. a conditonal expression is safe if both operand...
authorArnaud Le Blanc <arnaud.lb@gmail.com>
Sat, 6 Nov 2010 02:49:37 +0000 (03:49 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Sun, 7 Nov 2010 07:52:12 +0000 (08:52 +0100)
commit4087d087a1107a9471ad317c71935d0639af2c95
tree484f5ee3c040cbd865977bb28ae5a2755fe0bb3c
parent123caccc803f733cfecc8f26aa700634acc89f0a
deeply mark expressions as safe (e.g. a conditonal expression is safe if both operands are literals)
lib/Twig/Extension/Core.php
lib/Twig/Extension/Escaper.php
lib/Twig/Filter.php
lib/Twig/NodeVisitor/Escaper.php
lib/Twig/NodeVisitor/SafeAnalysis.php [new file with mode: 0644]
test/Twig/Tests/Fixtures/tags/autoescape/literal.test