highlight: Fix utf-8 encoding bug. Closes: #535028
parent
f7f4353f14
commit
feae031a80
|
@ -4,6 +4,7 @@ package IkiWiki::Plugin::highlight;
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
use IkiWiki 3.00;
|
use IkiWiki 3.00;
|
||||||
|
use Encode;
|
||||||
|
|
||||||
# locations of highlight's files
|
# locations of highlight's files
|
||||||
my $filetypes="/etc/highlight/filetypes.conf";
|
my $filetypes="/etc/highlight/filetypes.conf";
|
||||||
|
@ -69,7 +70,7 @@ sub htmlizefallback {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
return highlight($langfile, shift);
|
return Encode::decode_utf8(highlight($langfile, shift));
|
||||||
}
|
}
|
||||||
|
|
||||||
my %ext2lang;
|
my %ext2lang;
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
ikiwiki (3.1415) UNRELEASED; urgency=low
|
ikiwiki (3.1415) unstable; urgency=low
|
||||||
|
|
||||||
* img: Fix extra double quote with alt text. (smcv)
|
* img: Fix extra double quote with alt text. (smcv)
|
||||||
* Updated French debconf templates translation. Closes: #535103
|
* Updated French debconf templates translation. Closes: #535103
|
||||||
* openid: Support Net::OpenID 2.x when pretty-printing
|
* openid: Support Net::OpenID 2.x when pretty-printing
|
||||||
openids. (smcv)
|
openids. (smcv)
|
||||||
|
* highlight: Fix utf-8 encoding bug. Closes: #535028
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Tue, 16 Jun 2009 15:08:31 -0400
|
-- Joey Hess <joeyh@debian.org> Tue, 07 Jul 2009 16:25:05 -0400
|
||||||
|
|
||||||
ikiwiki (3.141) unstable; urgency=low
|
ikiwiki (3.141) unstable; urgency=low
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue