summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-03-07 14:34:31 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-03-07 14:34:31 -0500
commit029cf94493ca6fc7e13245539c138d3884adc61f (patch)
treea50ab67aa8588bc1bcf1ab87c84501925b9508bb /IkiWiki
parente7d2da564145d4ad05c3dcbe9d71bbf091243b91 (diff)
rebuild not needed
This plugin only affects the page edit, not the compiled wiki.
Diffstat (limited to 'IkiWiki')
-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
-