From 029cf94493ca6fc7e13245539c138d3884adc61f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 7 Mar 2009 14:34:31 -0500 Subject: rebuild not needed This plugin only affects the page edit, not the compiled wiki. --- IkiWiki/Plugin/wmd.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/IkiWiki/Plugin/wmd.pm b/IkiWiki/Plugin/wmd.pm index 074e1df6f..3372ffe38 100644 --- a/IkiWiki/Plugin/wmd.pm +++ b/IkiWiki/Plugin/wmd.pm @@ -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", "
\n".include_javascript(undef, 1)); + $form->tmpl_param("wmd_preview", "
\n". + include_javascript(undef, 1)); } sub include_javascript ($;$) { @@ -42,4 +42,3 @@ sub include_javascript ($;$) { } 1 - -- cgit v1.2.3