format tables with lfs
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 9 Dec 2013 21:10:55 +0000 (22:10 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 9 Dec 2013 21:10:55 +0000 (22:10 +0100)
html.pl

diff --git a/html.pl b/html.pl
index a6c2558..7cd3dcf 100755 (executable)
--- a/html.pl
+++ b/html.pl
@@ -603,9 +603,9 @@ foreach my $group ( keys %$table ) {
                print $fh "</tr>\n";
 
                foreach my $row ( 0 .. $#{ $table->{$group} } ) {
-                       print $fh "<tr><th>", $report_labels[$row], "</th>";
-                       print $fh "<td>", $table->{$group}->[ $row ]->[ $_ ] || '', "</td>" foreach 0 .. $#departments;
-                       print $fh "</tr>";
+                       print $fh "<tr><th>", $report_labels[$row], "</th>\n";
+                       print $fh " <td>", $table->{$group}->[ $row ]->[ $_ ] || '', "</td>\n" foreach 0 .. $#departments;
+                       print $fh "</tr>\n";
                }
 
                print $fh "</table>\n";