From: Joey Hess Date: Sat, 7 Mar 2009 19:34:31 +0000 (-0500) Subject: rebuild not needed X-Git-Tag: 3.07~19 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/029cf94493ca6fc7e13245539c138d3884adc61f rebuild not needed This plugin only affects the page edit, not the compiled wiki. --- 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 -