Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

newforms-admin: Fixed #6536 -- Corrected non-XHTML markup for image t…

…ag. Thanks to Johann Queuniet <johann.queuniet@gmail.com> for the initial report, and Honza Kral for keeping the ticket up to date.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b67ed020c22c244ec652cd605bc10aaab300d14f 1 parent bdea65e
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/widgets.py
View
2  django/contrib/admin/widgets.py
@@ -101,7 +101,7 @@ def render(self, name, value, attrs=None):
# API to determine the ID dynamically.
output.append('<a href="%s%s" class="related-lookup" id="lookup_id_%s" onclick="return showRelatedObjectLookupPopup(this);"> ' % \
(related_url, url, name))
- output.append('<img src="%simg/admin/selector-search.gif" width="16" height="16" alt="Lookup"></a>' % settings.ADMIN_MEDIA_PREFIX)
+ output.append('<img src="%simg/admin/selector-search.gif" width="16" height="16" alt="Lookup" /></a>' % settings.ADMIN_MEDIA_PREFIX)
if value:
output.append(self.label_for_value(value))
return mark_safe(u''.join(output))
Please sign in to comment.
Something went wrong with that request. Please try again.