From: Joey Hess Date: Mon, 23 Jan 2012 22:15:14 +0000 (-0400) Subject: fix the nodiscount setting X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=100a68f4e2f8773a5482186f22545544b20bcfe4;p=ikiwiki.git fix the nodiscount setting --- 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 {