[SCM] Debian package checker branch, master, updated. 1.24.3-23-gb28190b
The following commit has been merged in the master branch:
commit 7c52524ad38828798bf74c182eecd8983bd411bd
Author: Jordà Polo <jorda@ettin.org>
Date: Sun Aug 10 08:20:30 2008 +0200
Link manpage references to manpages.d.n
diff --git a/lib/Read_taginfo.pm b/lib/Read_taginfo.pm
index 93317a1..0cd4a22 100644
--- a/lib/Read_taginfo.pm
+++ b/lib/Read_taginfo.pm
@@ -111,8 +111,9 @@ sub format_ref {
foreach my $ref (split(/,\s?/, $header)) {
if ($ref =~ /^([\w-]+)\s(.+)$/) {
$text = manual_ref($1, $2);
- } elsif ($ref =~ /^[\w_-]+\(\d\)$/) {
- $text = "the $ref manual page";
+ } elsif ($ref =~ /^([\w_-]+)\((\d)\)$/) {
+ $text = "the <a href='http://manpages.debian.net/cgi-bin/".
+ "man.cgi?query=$1&sektion=$2'>$ref</a> manual page";
} elsif ($ref =~ /^(?:ftp|https?):\/\//) {
$text = "<a href='$ref'>$ref</a>";
}
--
Debian package checker
Reply to: