From caa79a9ee4b738bfa0295dcdbd67dfd2b48a1efd Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 9 May 2001 15:32:14 +0000 Subject: Minor adjustments to HTML for the module synopsis tables. --- Doc/perl/SynopsisTable.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Doc/perl/SynopsisTable.pm b/Doc/perl/SynopsisTable.pm index 6a03dd2..9e528ab 100644 --- a/Doc/perl/SynopsisTable.pm +++ b/Doc/perl/SynopsisTable.pm @@ -52,14 +52,18 @@ sub show{ sub tohtml{ my $self = shift; - my $data = "\n"; + my $oddrow = 1; + my $data = "
\n"; my $name; foreach $name (split /,/, $self->{names}) { my($key,$type,$synopsis) = $self->get($name); my $link = ""; - $data .= (' ' + $data .= (' \n " : '>') . "\n" + . " \n" . " \n"); + $oddrow = !$oddrow; } $data .= "
$link$name$synopsis
\n"; $data; -- cgit v0.12