]> sipb.mit.edu Git - ikiwiki.git/commitdiff
perl bugnum and refix
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 2 Jul 2006 17:46:23 +0000 (17:46 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 2 Jul 2006 17:46:23 +0000 (17:46 +0000)
IkiWiki/Render.pm
debian/changelog

index 08f098760ecd8faec191e271bded69fc6427bd71..54e409040ad119b8e6adf9bba850dbf21a255090 100644 (file)
@@ -33,12 +33,12 @@ sub htmlize ($$) { #{{{
        }
        
        if ($type eq '.mdwn') {
        }
        
        if ($type eq '.mdwn') {
-               # XXX explanation of this insanity wating on perl bug number
-#              $content=Encode::encode_utf8($content);
+               # Workaround for perl bug (#376329)
+               $content=Encode::encode_utf8($content);
                $content=Encode::encode_utf8($content);
                $content=Markdown::Markdown($content);
                $content=Encode::decode_utf8($content);
                $content=Encode::encode_utf8($content);
                $content=Markdown::Markdown($content);
                $content=Encode::decode_utf8($content);
-#              $content=Encode::decode_utf8($content);
+               $content=Encode::decode_utf8($content);
        }
        else {
                error("htmlization of $type not supported");
        }
        else {
                error("htmlization of $type not supported");
index b1b449ad59db18e06e959f0bf7e0d9c3c47bf87a..5afcf976c2c005a8271b38310eee7882713327a0 100644 (file)
@@ -17,7 +17,7 @@ ikiwiki (1.8) UNRELEASED; urgency=low
     Liambotis.
   * Add insane double encode/decode to utf8 around call to markdown.
     This works around a truely strange bug, which is apparently a bug in
     Liambotis.
   * Add insane double encode/decode to utf8 around call to markdown.
     This works around a truely strange bug, which is apparently a bug in
-    perl, which I lack space to describe here (see t/crazy-badass-perl-bug.t)
+    perl, #376329. Also added a test case for it.
   * Improve layout of edit page so formatting help link is always visible w/o
     getting in the way of the preview.
 
   * Improve layout of edit page so formatting help link is always visible w/o
     getting in the way of the preview.