From f10af2de24e2ed4df4173c25a11e94207b4a3847 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 1 Jun 2006 02:10:44 +0000 Subject: [PATCH] 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 --- django/contrib/admin/templates/admin/object_history.html | 4 ++-- 1 file 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 %} {{ action.action_time|date:_("DATE_WITH_TIME_FULL") }} - {{ action.user.username }}{% if action.user.first_name %} ({{ action.user.first_name }} {{ action.user.last_name }}){% endif %} - {{ action.change_message}} + {{ action.user.username }}{% if action.user.first_name %} ({{ action.user.first_name|escape }} {{ action.user.last_name|escape }}){% endif %} + {{ action.change_message|escape }} {% endfor %}