From: intrigeri Date: Sun, 8 Mar 2009 15:02:10 +0000 (+0100) Subject: brought back checkcontent hook full-content compat. X-Git-Tag: 3.15~209 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8fed4206cbeddd3c65c14efae69776f17f5fb78b;p=ikiwiki.git brought back checkcontent hook full-content compat. This modification was initially done in editpage, in commit a3726968bc13f19f458c372cbd7cf92ae4c6fce5, but was then lost while merging upstream/master branch. Signed-off-by: intrigeri --- diff --git a/IkiWiki.pm b/IkiWiki.pm index f580d1f0d..2640f85a2 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1337,7 +1337,7 @@ sub check_content (@) { foreach my $line (split("\n", $params{content})) { push @diff, $line if ! exists $old{$_}; } - $params{content}=join("\n", @diff); + $params{diff}=join("\n", @diff); } my $ok;