From 5189144e27ad1b19165b95b377aae2902ed2ebb0 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 6 Oct 2010 06:37:54 -0400 Subject: [PATCH] Remove mdwn.pm checkconfig() definition. 1) I'd never registered it. 2) We *don't* want to configure markdown_path by default, because when its defined it overrides any perl modules (e.g. Text::Markdown). --- IkiWiki/Plugin/mdwn.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/IkiWiki/Plugin/mdwn.pm b/IkiWiki/Plugin/mdwn.pm index dc5d8f01a..e29c91355 100644 --- a/IkiWiki/Plugin/mdwn.pm +++ b/IkiWiki/Plugin/mdwn.pm @@ -27,19 +27,13 @@ sub getsetup () { }, markdown_path => { type => "string", - example => 0, + example => 0, # /usr/bin/markdown description => "path to an external markdown binary", safe => 0, rebuild => undef, }, } -sub checkconfig () { - if (! defined $config{markdown_path}) { - $config{markdown_path}="/usr/bin/markdown"; - } -} - my $markdown_sub; my $tempdir; sub htmlize (@) { -- 2.26.2