--- gitweb.cgi.orig 2006-05-28 10:30:38.000000000 +0100 +++ gitweb.cgi 2006-05-28 11:12:52.000000000 +0100 @@ -1218,12 +1218,12 @@ } print "\n\n" . "\n"; - print "
"; + print "
";
 	my $comment = $tag{'comment'};
 	foreach my $line (@$comment) {
-		print esc_html($line) . "
\n"; + print esc_html($line) . "\n"; } - print "
\n"; + print "
\n"; git_footer_html(); } @@ -1547,22 +1547,22 @@ "" . esc_html("$my_url?p=$project;a=commit;h=$commit") . "\n" . "" . esc_html($co{'title'}) . "\n" . "" . - "\n"; my $comment = $co{'comment'}; foreach my $line (@$comment) { $line = decode("utf8", $line, Encode::FB_DEFAULT); - print "$line
\n"; + print "$line\n"; } - print "
\n"; + print "\n"; foreach my $line (@difftree) { if (!($line =~ m/^:([0-7]{6}) ([0-7]{6}) ([0-9a-fA-F]{40}) ([0-9a-fA-F]{40}) (.)([0-9]{0,3})\t(.*)$/)) { next; } my $file = validate_input(unquote($7)); $file = decode("utf8", $file, Encode::FB_DEFAULT); - print "$file
\n"; + print "$file\n"; } - print "]]>\n" . + print "]]>\n" . "
\n" . "\n"; } @@ -1673,7 +1673,7 @@ "\n" . "" . esc_html($co{'author_name'}) . " [$ad{'rfc2822'}]
\n" . "\n" . - "
\n"; + "
\n";
 		my $comment = $co{'comment'};
 		my $empty = 0;
 		foreach my $line (@$comment) {
@@ -1688,12 +1688,12 @@
 			} else {
 				$empty = 0;
 			}
-			print format_log_line_html($line) . "
\n"; + print format_log_line_html($line) . "\n"; } if (!$empty) { - print "
\n"; + print "\n"; } - print "
\n"; + print "
\n"; } git_footer_html(); } @@ -1783,7 +1783,7 @@ } print "". "\n"; - print "
\n"; + print "
\n";
 	my $comment = $co{'comment'};
 	my $empty = 0;
 	my $signed = 0;
@@ -1799,13 +1799,13 @@
 		}
 		if ($line =~ m/^ *(signed[ \-]off[ \-]by[ :]|acked[ \-]by[ :]|cc[ :])/i) {
 			$signed = 1;
-			print "" . esc_html($line) . "
\n"; + print "
" . esc_html($line) . "
\n";
 		} else {
 			$signed = 0;
-			print format_log_line_html($line) . "
\n"; + print format_log_line_html($line) . "\n"; } } - print "
\n"; + print "
\n"; print "
\n"; if ($#difftree > 10) { print(($#difftree + 1) . " files changed:\n"); @@ -1982,7 +1982,7 @@ print "
\n" . $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=commit;h=$hash"), -class => "title"}, esc_html($co{'title'}) . $ref) . "\n" . "
\n"; - print "
\n"; + print "
\n";
 	my $comment = $co{'comment'};
 	my $empty = 0;
 	my $signed = 0;
@@ -2004,9 +2004,9 @@
 		} else {
 			$empty = 0;
 		}
-		print format_log_line_html($line) . "
\n"; + print format_log_line_html($line) . "\n"; } - print "
\n"; + print "

\n"; foreach my $line (@difftree) { # ':100644 100644 03b218260e99b78c6df0ed378e59ed9205ccc96d 3b93d5e7cc7f7dd4ebed13a5cc1a4ad976fc94d8 M ls-files.c' # ':100644 100644 7f9281985086971d3877aca27704f2aaf9c448ce bc190ebc71bbd923f2b728e505408f5e54bd073a M rev-tree.c'