projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7488039
)
fix the nodiscount setting
author
Joey Hess
<joey@kitenet.net>
Mon, 23 Jan 2012 22:15:14 +0000
(18:15 -0400)
committer
Joey Hess
<joey@kitenet.net>
Mon, 23 Jan 2012 22:15:14 +0000
(18:15 -0400)
IkiWiki/Plugin/mdwn.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/mdwn.pm
b/IkiWiki/Plugin/mdwn.pm
index 3c3fc9579fc7fa78959fad3e4ddf7b3bf67ce003..430194bffdcc6444f34036709d9dc3767187af85 100644
(file)
--- 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 {