Commit f10af2de authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

Fixed #2056 -- Escaped history messages in admin. Thanks, SmileyChris

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 02fcfe62
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -24,8 +24,8 @@
        {% for action in action_list %}
        <tr>
            <th scope="row">{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th>
            <td>{{ action.user.username }}{% if action.user.first_name %} ({{ action.user.first_name }} {{ action.user.last_name }}){% endif %}</td>
            <td>{{ action.change_message}}</td>
            <td>{{ action.user.username }}{% if action.user.first_name %} ({{ action.user.first_name|escape }} {{ action.user.last_name|escape }}){% endif %}</td>
            <td>{{ action.change_message|escape }}</td>
        </tr>
        {% endfor %}
        </tbody>