Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion bin/genhtml
Original file line number Diff line number Diff line change
Expand Up @@ -11309,8 +11309,12 @@ sub write_source_line(*$$$$$$$)
if ($mc) {
# space over far enough to line up with MC/DC extension column
# remove the span and other HTML
(my $s = $br) =~ s/(<\/span>|<span.+?>)//g;
my $s = $br;
foreach my $tag ('a', 'span') {
$s =~ s/(<\/$tag>|<$tag.+?>)//g;
}
$br .= ' ' x ($br_field_width - length($s)) . ' ';
die("unexpected lengths") unless $br_field_width >= length($s);
}
write_html($handle,
"$html_continuation_leader$lineNumSpan" .
Expand Down