From 100a68f4e2f8773a5482186f22545544b20bcfe4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 23 Jan 2012 18:15:14 -0400 Subject: [PATCH] fix the nodiscount setting --- 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 3c3fc9579..430194bff 100644 --- a/IkiWiki/Plugin/mdwn.pm +++ b/IkiWiki/Plugin/mdwn.pm @@ -58,7 +58,7 @@ sub htmlize (@) { } } if (! defined $markdown_sub && - exists $config{nodiscount} && ! $config{nodiscount}) { + (! exists $config{nodiscount} || ! $config{nodiscount})) { eval q{use Text::Markdown::Discount}; if (! $@) { $markdown_sub=sub { -- 2.26.2