perl bugnum and refix

master
joey 2006-07-02 17:46:23 +00:00
parent 1452b3adf3
commit b74ddf69ce
2 changed files with 4 additions and 4 deletions

View File

@ -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");

2
debian/changelog vendored
View 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
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.