foreach my $module (@modules) {
- print "<table border=\"0\" bgcolor=\"#000066\" cellpadding=\"5\" width=\"100%\">";
- print "<tr><td><font size=\"4\"><b><a href=\"/cgi-bin/cvs/viewcvs.cgi/$module\">$module module</a></b></font></td></tr>";
+ print "<table border=\"0\" bgcolor=\"#000066\" cellpadding=\"5\" width=\"100%\">\n\n";
+ print "<tr><td>\n<font size=\"4\"><b><a href=\"/cgi-bin/cvs/viewcvs.cgi/$module\">$module module</a></b></font>\n</td></tr>\n\n";
print "<tr><td bgcolor=\"white\">\n";
my(@lines) = `$logcmd $module 2>&1`;
foreach my $line (@lines) {
if ($line =~ /^([0-9]{4}-[0-9]{2}-[0-9]{2}.*?)([^\s]+)$/) {
- print "<font color=\"blue\"><b>";
+ print "\n<font color=\"blue\"><b>";
print HTML_encode($1);
print "</b><i>";
print HTML_encode("by $2");
- print "</i></font>"
+ print "</i></font>\n"
}
else {
chop $line;
print "<code>";
print HTML_encode($line);
- print "</code><br>"
+ print "</code><br>\n"
}
}
}