This was probably not noticed because it only results in a warning, and in
the checkcontent diff having some unchanged lines in it.
master
Joey Hess 2009-12-14 18:20:11 -05:00
parent 2bceb10b5f
commit c0e938e972
1 changed files with 1 additions and 1 deletions

View File

@ -1407,7 +1407,7 @@ sub check_content (@) {
my %old=map { $_ => 1 }
split("\n", readfile(srcfile($pagesources{$params{page}})));
foreach my $line (split("\n", $params{content})) {
push @diff, $line if ! exists $old{$_};
push @diff, $line if ! exists $old{$line};
}
$params{diff}=join("\n", @diff);
}