fix the nodiscount setting
parent
74880397d0
commit
100a68f4e2
|
@ -58,7 +58,7 @@ sub htmlize (@) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (! defined $markdown_sub &&
|
if (! defined $markdown_sub &&
|
||||||
exists $config{nodiscount} && ! $config{nodiscount}) {
|
(! exists $config{nodiscount} || ! $config{nodiscount})) {
|
||||||
eval q{use Text::Markdown::Discount};
|
eval q{use Text::Markdown::Discount};
|
||||||
if (! $@) {
|
if (! $@) {
|
||||||
$markdown_sub=sub {
|
$markdown_sub=sub {
|
||||||
|
|
Loading…
Reference in New Issue