Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19b9d6 commit d05177fCopy full SHA for d05177f
1 file changed
Doc/perl/SynopsisTable.pm
@@ -38,14 +38,15 @@ sub show{
38
39
sub tohtml{
40
my $self = shift;
41
- my $data = "<dl>\n";
+ my $data = "<table>\n";
42
my $name;
43
foreach $name (split /,/, $self->{names}) {
44
my($key,$type,$synopsis) = $self->get($name);
45
- $data .= ("<dt><b><tt><a href=\"module-$key.html\">$name</a></tt></b>"
46
- . "\n<dd>$synopsis\n");
+ my $link = "<a href=\"module-$key.html\">";
+ $data .= (" <tr><td><b><tt>$link$name</a></tt></b></td>\n"
47
+ . " <td>$synopsis</td></tr>\n");
48
}
- $data .= "</dl>\n";
49
+ $data .= "</table>\n";
50
$data;
51
52
0 commit comments