summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/mdwn.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/mdwn.pm b/IkiWiki/Plugin/mdwn.pm
index c871e2a4d..625f77f21 100644
--- a/IkiWiki/Plugin/mdwn.pm
+++ b/IkiWiki/Plugin/mdwn.pm
@@ -44,7 +44,7 @@ sub htmlize (@) { #{{{
# Workaround for perl bug (#376329)
$content=Encode::encode_utf8($content);
$content=Encode::encode_utf8($content);
- $content=Markdown::Markdown($content);
+ $content=&$markdown_sub($content);
$content=Encode::decode_utf8($content);
$content=Encode::decode_utf8($content);