]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/mdwn.pm
Added a comment: I'm trying to use OpenID without success
[git.ikiwiki.info.git] / IkiWiki / Plugin / mdwn.pm
index 3c3fc9579fc7fa78959fad3e4ddf7b3bf67ce003..430194bffdcc6444f34036709d9dc3767187af85 100644 (file)
@@ -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 {