summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/wmd.pm5
1 files 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", "<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
-