X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/0df2ad5dfe1d896520eceabfe362891f68ed3165..0d666f4a7c504690866db868e454ebc20f00f5f5:/IkiWiki/Plugin/mdwn.pm

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);