# This script assumes git checkouts at ~/git/Evergreen and ~/git/OpenSRF that
# correspond to branches used to produce the test output being parsed.
+use CGI qw(:standard escapeHTML);
+my $q = CGI->new;
+
my $state = 'skipping';
my $error_count = 0;
my $subpage_count = 0;
$class = '';
}
chomp $line;
- my $html_line = "<span class='$class'>$line</span>";
+ my $html_line = "<span class='$class'>" . $q->escapeHTML($line) . "</span>";
print SUB_PAGE "$html_line\n";
}
if ($line =~ /=~-\._/) {