title: Set default raw filter in Twig
body: <p>I'm using Silex to build a site and Twig to display the contents based on a json file. </p>
  
  <p>Here's the code in the controller:</p>
  
  <pre><code>$app-&gt;get('/', function() use ($app) {
  
      $data = $app['data']-&gt;get('contactUs', 'es');
  
      return $app['twig']-&gt;render('test.html', $data);
  
  });
  </code></pre>
  
  <p><code>Data</code>is just a custom class that takes as argument the page to be displayed and the language to use and returns an array based on the json file that Twig uses as the data on the page.</p>
  
  <p>The problem is that the json file contains HTML tags, and when Twig renders the page it displays them as entities, for example, my test.html template looks like this: </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Twit Test&lt;/title&gt;
      &lt;/head&gt;
  &lt;body&gt;
  
      {{ bannerTitle }}
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But that outputs the following on <code>{{ bannerTitle }}</code> : </p>
  
  <pre><code>&lt;span class='title light'&gt;Contact Us&lt;/span&gt;
  </code></pre>
  
  <p>Which by looking at the source code looks like this: </p>
  
  <pre><code>&amp;lt;span class=&amp;#039;title light&amp;#039;&amp;gt;Contacto y&amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&amp;lt;span class=&amp;#039;title&amp;#039;&amp;gt;Ubicación&amp;lt;/span&amp;gt;
  </code></pre>
  
  <p>I look around at the docs, and I know I can use the raw filter on the template to avoid this, like this:</p>
  
  <pre><code>{{ bannerTitle|raw }}
  </code></pre>
  
  <p>But I want to keep as clean as possible the code on the templates, and avoid putting <code>raw</code>to everything on the templates.</p>
  
  <p>Is there a way to tell Twig to treat always as raw the generated output?</p>
  
  <p>P.S: I also tried parsing the generated data with htmlentities, html_entity_decode, etc with no luck :(</p>