From 75f9ccbff19b4641f1d7d88f63f721773b71ebb5 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 6 Oct 2010 09:36:10 -0400 Subject: [PATCH] Simplify mdwn.pm Markdown::Markdown error message. Avoids: ../IkiWiki/Plugin/mdwn.pm:100: invalid variable interpolation at "$" --- IkiWiki/Plugin/mdwn.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/mdwn.pm b/IkiWiki/Plugin/mdwn.pm index e29c91355..0eb496c0e 100644 --- a/IkiWiki/Plugin/mdwn.pm +++ b/IkiWiki/Plugin/mdwn.pm @@ -97,7 +97,7 @@ sub htmlize (@) { $markdown_sub=\&Markdown::Markdown; } else { - error(sprintf(gettext("failed to load Markdown.pm perl module (%s) or $config{markdown_path} (%s)"), $@, $!)); + error("failed to load Markdown.pm perl module or $config{markdown_path}"); } } } -- 2.26.2