diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-02 17:46:23 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-02 17:46:23 +0000 |
commit | b74ddf69ce8063eecba34bdb3b5de3fd9af97f8b (patch) | |
tree | b1cd4e043e2bb51157b21608e433bb5802a9b417 | |
parent | 1452b3adf30145e8fd1208ac73da9d12967863bc (diff) |
perl bugnum and refix
-rw-r--r-- | IkiWiki/Render.pm | 6 | ||||
-rw-r--r-- | debian/changelog | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 08f098760..54e409040 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -33,12 +33,12 @@ sub htmlize ($$) { #{{{ } 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::decode_utf8($content); + $content=Encode::decode_utf8($content); } else { error("htmlization of $type not supported"); diff --git a/debian/changelog b/debian/changelog index b1b449ad5..5afcf976c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 - 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. |