Skip to content

Commit 03a0e74

Browse files
lahwaaczjelly
authored andcommitted
Fix format string for package links in todo lists
Fixes 0cf2405 Fixes #582
1 parent fb9b330 commit 03a0e74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

todolists/templatetags/todolists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def todopkg_details_link(todopkg):
1313
pkg = todopkg.pkg
1414
if not pkg:
1515
return todopkg.pkgname
16-
link = '<a href={url}s" title="View package details for {pkgname}">{pkgname}</a>'
16+
link = '<a href="{url}" title="View package details for {pkgname}">{pkgname}</a>'
1717
url = pkg_absolute_url(todopkg.repo, todopkg.arch, pkg.pkgname)
1818
return format_html(link, url=url, pkgname=pkg.pkgname)
1919

0 commit comments

Comments
 (0)