diff options
-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. |