fix the nodiscount setting

master
Joey Hess 2012-01-23 18:15:14 -04:00
parent 74880397d0
commit 100a68f4e2
1 changed files with 1 additions and 1 deletions

View 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 {