X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2af87dea6c94df8731e1ed515118b3b449fd97aa..2ce6d15b8bdc23f1b7cb3e71168ff5df580eb267:/IkiWiki/Render.pm diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 0dfa03cd4..87546eeb3 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -29,13 +29,10 @@ sub htmlize ($$) { #{{{ $blosxom::version="is a proper perl module too much to ask?"; use warnings 'all'; do "/usr/bin/markdown"; - require Encode; } if ($type eq '.mdwn') { - # Markdown does character based stuff that does not work - # well with utf-8 strings. - $content=Encode::decode_utf8(Markdown::Markdown(Encode::encode_utf8($content))); + $content=Markdown::Markdown($content); } else { error("htmlization of $type not supported");