title: Escape html entities twig form widget
body: <p>I need to escape those double quotes in  post_data.postCaption1 as below. But it seems not working. How to do it?</p>
  
  <pre><code>&lt;div class="form-group"&gt;
        {% autoescape %}
          {{ form_widget(blog_form.post_caption1, { 'attr': {'class': 'form-control', 'placeholder': 'Enter caption for image 1', 'value': post_data.postCaption1|raw } }) }} {% endautoescape %}
          {{ form_errors(blog_form.post_caption1) }}
      &lt;/div&gt;
  </code></pre>