]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
rebuild not needed
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 7 Mar 2009 19:34:31 +0000 (14:34 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 7 Mar 2009 19:34:31 +0000 (14:34 -0500)
This plugin only affects the page edit, not the compiled wiki.

IkiWiki/Plugin/wmd.pm

index 074e1df6fc7c487ae888eda4f1e1fd8711d0c695..3372ffe38dc35c115829eceba24e06d165045e4b 100644 (file)
@@ -17,7 +17,6 @@ sub getsetup () {
        return
                plugin => {
                        safe => 1,
-                       rebuild => 1,
                },
 }
 
@@ -30,7 +29,8 @@ sub formbuilder_setup (@) {
        return unless (($form->field("do") eq "edit") ||
                                ($form->field("do") eq "create"));
 
-       $form->tmpl_param("wmd_preview", "<div class=\"wmd-preview\"></div>\n".include_javascript(undef, 1));
+       $form->tmpl_param("wmd_preview", "<div class=\"wmd-preview\"></div>\n".
+               include_javascript(undef, 1));
 }
 
 sub include_javascript ($;$) {
@@ -42,4 +42,3 @@ sub include_javascript ($;$) {
 }
 
 1
-