Ticket #8258: 8258.delete.autoescape.diff

File 8258.delete.autoescape.diff, 896 bytes (added by Julien Phalip, 16 years ago)

Turns off autoescaping in the unordered_list filter

  • E:/Software/workspace/django/django/contrib/admin/templates/admin/delete_confirmation.html

     
    2020    </ul>
    2121{% else %}
    2222    <p>{% blocktrans with object|escape as escaped_object %}Are you sure you want to delete the {{ object_name }} "{{ escaped_object }}"? All of the following related items will be deleted:{% endblocktrans %}</p>
    23     <ul>{{ deleted_objects|unordered_list }}</ul>
     23    <ul>{% autoescape off %}{{ deleted_objects|unordered_list }}{% endautoescape %}</ul>
    2424    <form action="" method="post">
    2525    <div>
    2626    <input type="hidden" name="post" value="yes" />
Back to Top