diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-23 18:15:14 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-23 18:15:14 -0400 |
commit | 100a68f4e2f8773a5482186f22545544b20bcfe4 (patch) | |
tree | bb86ce3830be2bdae985198002bb8f68f84a4461 | |
parent | 74880397d03c694365b0376243a18e39c020f4af (diff) | |
download | ikiwiki-100a68f4e2f8773a5482186f22545544b20bcfe4.tar ikiwiki-100a68f4e2f8773a5482186f22545544b20bcfe4.tar.gz |
fix the nodiscount setting
-rw-r--r-- | IkiWiki/Plugin/mdwn.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |