From 66e05cde0a55ceccf9e558473cddb3ba2fec6317 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 9 Aug 2008 07:11:20 -0700 Subject: [PATCH] * switch to package_links from htmlizemaintlinks --- Debbugs/CGI/Pkgreport.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Debbugs/CGI/Pkgreport.pm b/Debbugs/CGI/Pkgreport.pm index 06946a6..51ebe42 100644 --- a/Debbugs/CGI/Pkgreport.pm +++ b/Debbugs/CGI/Pkgreport.pm @@ -104,10 +104,9 @@ sub generate_package_info{ my $maint = $maintainers->{$srcforpkg}; if (defined $maint) { print {$output} '

'; - print {$output} htmlize_maintlinks(sub { $_[0] == 1 ? "Maintainer for $showpkg is " - : "Maintainers for $showpkg are " - }, - $maint); + print {$output} (($maint =~ /,/)? "Maintainer for $showpkg is " + : "Maintainers for $showpkg are ") . + package_links(maint => $maint); print {$output} ".

\n"; } else { -- 2.39.2