From: Fabien Potencier Date: Sun, 12 Dec 2010 13:35:15 +0000 (+0100) Subject: reverted inadvertently committed code X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=ace7aa8138dd0a3cdd345cf26df249c1a099a712;p=web%2Fkonrad%2Ftwig.git reverted inadvertently committed code --- diff --git a/lib/Twig/NodeVisitor/Escaper.php b/lib/Twig/NodeVisitor/Escaper.php index eccf57b..8f0cc14 100644 --- a/lib/Twig/NodeVisitor/Escaper.php +++ b/lib/Twig/NodeVisitor/Escaper.php @@ -81,10 +81,6 @@ class Twig_NodeVisitor_Escaper implements Twig_NodeVisitorInterface $expression = $node->getNode('expr'); if ($this->isSafeFor($type, $expression, $env)) { - if ($expression instanceof Twig_Node_Expression_Filter && 'raw' == $expression->getNode('filter')->getAttribute('value')) { - $node->setNode('expr', $expression->getNode('node')); - } - return $node; }