summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-06 22:19:14 -0400
committerJoey Hess <joey@kitenet.net>2010-05-06 22:19:14 -0400
commitd3aaf6e01fe7f90a530e640957b5908d5dba2f7f (patch)
treef851472eb9746cfbd66c5ae7437cc696d5ddd31d /IkiWiki/Plugin
parenta47e835f3a97c9f490622f21562b32fbf527ef1b (diff)
fix pagediff to not display as "preview"
I think originally, the page preview header was not displayed, so diff was hacked in using it.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/editdiff.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/editdiff.pm b/IkiWiki/Plugin/editdiff.pm
index d8f53a42e..015ce9c14 100644
--- a/IkiWiki/Plugin/editdiff.pm
+++ b/IkiWiki/Plugin/editdiff.pm
@@ -71,7 +71,7 @@ sub formbuilder_setup {
$content=~s/\r/\n/g;
my $diff = diff(srcfile($pagesources{$page}), $content);
- $form->tmpl_param("page_preview", $diff);
+ $form->tmpl_param("page_diff", $diff);
}
}