tohtml(): Make module names anchors.

This commit is contained in:
Fred Drake 1998-07-24 22:13:37 +00:00
parent a1cce714d0
commit 2903d03e2d
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ sub tohtml{
my $name;
foreach $name (split /,/, $self->{names}) {
my($key,$type,$synopsis) = $self->get($name);
$data .= "<dt><b><tt>$name</tt></b>\n<dd>$synopsis\n";
$data .= ("<dt><b><tt><a href=\"module-$key.html\">$name</a></tt></b>"
. "\n<dd>$synopsis\n");
}
$data .= "</dl>\n";
$data;