summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-02-03 15:04:36 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-02-03 15:04:36 -0500
commitb8b302cfa367f47d0c68d1f4e5fbf4f0b2aef25b (patch)
tree92ee48eedf27004c9acc0a582ba310df416c56ab /IkiWiki
parentaba2d83cc6c0273c30ae109b32c2ea404488116e (diff)
parentdd862b4639bd470cbc3e726798af2f07587cb62e (diff)
Merge commit 'smcv/atom'
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/aggregate.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm
index c667ee2a9..e1baae666 100644
--- a/IkiWiki/Plugin/aggregate.pm
+++ b/IkiWiki/Plugin/aggregate.pm
@@ -534,6 +534,11 @@ sub aggregate (@) {
}
foreach my $entry ($f->entries) {
+ # XML::Feed doesn't work around XML::Atom's bizarre
+ # API, so we will. Real unicode strings? Yes please.
+ # See [[bugs/Aggregated_Atom_feeds_are_double-encoded]]
+ local $XML::Atom::ForceUnicode = 1;
+
my $c=$entry->content;
# atom feeds may have no content, only a summary
if (! defined $c && ref $entry->summary) {