title: Twig nl2br filter not working on entity
body: <p>I have an Address entity with a __toString() method like this :</p>
  
  <pre><code>public function __toString() {
      $result = $this-&gt;getStreet();
  
      if ($this-&gt;getStreet2())
          $result .= '\n' . $this-&gt;getStreet2();
  
      $result .= '\n' . $this-&gt;getZipCode().' '.$this-&gt;getCity();
      return $result;
  }
  </code></pre>
  
  <p>In my template, I apply the <a href="http://twig.sensiolabs.org/doc/filters/nl2br.html" rel="nofollow">Twig nl2br filter</a> on the entity :</p>
  
  <pre><code>{{ user.address|nl2br }}   
  </code></pre>
  
  <p>but I still get the escaped \n :</p>
  
  <p><strong>1107 West Adams Boulevard\n90007 Los Angeles, CA</strong></p>
  
  <p>I tried using this string instead of the entity : </p>
  
  <pre><code>{{ "1107 West Adams Boulevard\n90007 Los Angeles, CA"|nl2br }}   
  </code></pre>
  
  <p>And I get the expected result :</p>
  
  <p><strong>1107 West Adams Boulevard</strong></p>
  
  <p><strong>90007 Los Angeles, CA</strong></p>
  
  <p>I also tried</p>
  
  <pre><code>{{ user.address|raw|nl2br }} 
  </code></pre>
  
  <p>Which is not safe, but still doesn't work...
  I've tried with Twig 1.8.0 and 1.9.0.</p>
  
  <p>Any idea ?</p>