reverted inadvertently committed code
authorFabien Potencier <fabien.potencier@gmail.com>
Sun, 12 Dec 2010 13:35:15 +0000 (14:35 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Sun, 12 Dec 2010 13:35:15 +0000 (14:35 +0100)
lib/Twig/NodeVisitor/Escaper.php

index eccf57b..8f0cc14 100644 (file)
@@ -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;
         }