|
@@ -100,7 +100,7 @@ sub gen_line_nums($$$) {
|
|
|
if ( $line ne "" ) {
|
|
|
$line = check_for_html($line);
|
|
|
}
|
|
|
- print $fh "<a href=\"\#l$line_counter\" class=\"line\" id=\"l$line_counter\">$line_counter</a>\t$line</br>";
|
|
|
+ print $fh "<a href=\"\#l$line_counter\" class=\"line\" id=\"l$line_counter\">$line_counter</a>\t$line<br>";
|
|
|
$line_counter++;
|
|
|
}
|
|
|
|
|
@@ -130,17 +130,17 @@ sub gen_diff_colors($$$) {
|
|
|
}
|
|
|
|
|
|
if ( $line =~ m/^\+/ ) {
|
|
|
- print $fh "<font color=\"green\">$line</font></br>";
|
|
|
+ print $fh "<font color=\"green\">$line</font><br>";
|
|
|
} elsif ( $line =~ m/^\-/ ) {
|
|
|
- print $fh "<font color=\"red\">$line</font></br>";
|
|
|
+ print $fh "<font color=\"red\">$line</font><br>";
|
|
|
} elsif ( $line =~ m/^@@/ ) {
|
|
|
- print $fh "<font color=\"blue\">$line</font></br>";
|
|
|
+ print $fh "<font color=\"blue\">$line</font><br>";
|
|
|
} elsif ( $line =~ m/^diff/ ) {
|
|
|
- print $fh "<font color=\"purple\">$line</font></br>";
|
|
|
+ print $fh "<font color=\"purple\">$line</font><br>";
|
|
|
} elsif ( $line =~ m/^commit/ ) {
|
|
|
- print $fh "<font color=\"purple\"><b>$line</b></font></br>";
|
|
|
+ print $fh "<font color=\"purple\"><b>$line</b></font><br>";
|
|
|
} else {
|
|
|
- print $fh "$line</br>";
|
|
|
+ print $fh "$line<br>";
|
|
|
}
|
|
|
$line_counter++;
|
|
|
}
|
|
@@ -174,7 +174,7 @@ sub write_project_content($$$$$) {
|
|
|
my $spec_web_dir = $web_projects_dir . $projects_map{$project_path};
|
|
|
my $project_index = $spec_web_dir . "index.html";
|
|
|
write_file("",$project_index);
|
|
|
- append_file("<html><a href=\"../../index.html\"><b>Return to index</a></b></br>",$project_index);
|
|
|
+ append_file("<html><a href=\"../../index.html\"><b>Return to index</a></b><br>",$project_index);
|
|
|
my $uniq_clone_path = "Disabled";
|
|
|
if ( $clone_path ne "Disabled" ) {
|
|
|
$uniq_clone_path = $clone_path . $projects_map{$project_path};
|