Skip to content
Browse files

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

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

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent bdea65e commit b67ed020c22c244ec652cd605bc10aaab300d14f @freakboy3742 freakboy3742 committed May 29, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/
2 django/contrib/admin/
@@ -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:
return mark_safe(u''.join(output))

0 comments on commit b67ed02

Please sign in to comment.
Something went wrong with that request. Please try again.