fix the nodiscount setting
parent
74880397d0
commit
100a68f4e2
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue