diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-06-01 02:10:44 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-06-01 02:10:44 +0000 |
| commit | f10af2de24e2ed4df4173c25a11e94207b4a3847 (patch) | |
| tree | d3fe517df938d408f4952088ca293397ed69c685 /django/contrib/admin/templates | |
| parent | 02fcfe621664488eab69d90158f65adef292e84a (diff) | |
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
Diffstat (limited to 'django/contrib/admin/templates')
| -rw-r--r-- | django/contrib/admin/templates/admin/object_history.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/admin/templates/admin/object_history.html b/django/contrib/admin/templates/admin/object_history.html index 0dbe7af743..fc568305ca 100644 --- a/django/contrib/admin/templates/admin/object_history.html +++ b/django/contrib/admin/templates/admin/object_history.html @@ -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> |
