Re : Re: [symfony-users] [sf2] Html Escaping

2011-06-14 Thread Thomas
I've fixed my problem, In the Twig documentation (http://www.twig-project.org/doc/templates.html) i've found this : {% autoescape false %} Everything will be outputed as is in this block{% endautoescape %} So like Chirstophe said, the output escaping is enabled by default. Adding {%

Re : Re: [symfony-users] [sf2] Html Escaping

2011-06-13 Thread Thomas
Hello Christophe, In my showNews.html.twig i have : {% block content %} h2{{ news.titre }}/h2 div id=date_news iPublished on {{ news.dateCreation.format('d F Y') }}./i /div {{ news.contenu }} {% endblock %} and in my head i've the meta : meta http-equiv=Content-Type content=text/html;