From b74ddf69ce8063eecba34bdb3b5de3fd9af97f8b Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 2 Jul 2006 17:46:23 +0000 Subject: [PATCH] perl bugnum and refix --- IkiWiki/Render.pm | 6 +++--- 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. -- 2.32.0.93.g670b81a890