This plugin only affects the page edit, not the compiled wiki.
return
plugin => {
safe => 1,
- rebuild => 1,
},
}
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 ($;$) {
}
1
-