]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/editdiff.pm
Add two template variables, expose html language code and language direction.
[git.ikiwiki.info.git] / IkiWiki / Plugin / editdiff.pm
index d8f53a42ee6031b072dab134ec6c6740c156be3c..015ce9c148d554c29a3db6a04227a2a50c88f02e 100644 (file)
@@ -71,7 +71,7 @@ sub formbuilder_setup {
                $content=~s/\r/\n/g;
 
                my $diff = diff(srcfile($pagesources{$page}), $content);
                $content=~s/\r/\n/g;
 
                my $diff = diff(srcfile($pagesources{$page}), $content);
-               $form->tmpl_param("page_preview", $diff);
+               $form->tmpl_param("page_diff", $diff);
        }
 }
 
        }
 }