]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Render.pm
* Support pinging services such as Technorati using XML-RPC to notify them
[ikiwiki.git] / IkiWiki / Render.pm
index 0dfa03cd4229f040ef17ae66579f1d3c4ca5ec35..d4e498188aad43c37f05fd28a094a951758b0a14 100644 (file)
@@ -29,12 +29,10 @@ sub htmlize ($$) { #{{{
                $blosxom::version="is a proper perl module too much to ask?";
                use warnings 'all';
                do "/usr/bin/markdown";
-               require Encode;
+               use 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)));
        }
        else {