From b0885a7278186f3397cc08d77b1b5399880c9ead Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 30 Jul 2006 06:20:58 +0000 Subject: fix encoding of some stuff --- IkiWiki/Plugin/aggregate.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index cb04308e6..a07d45dec 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -116,7 +116,8 @@ sub loadstate () { #{{{ my $data={}; foreach my $i (split(/ /, $_)) { my ($field, $val)=split(/=/, $i, 2); - if ($field eq "name" || $field eq "message") { + if ($field eq "name" || $field eq "feed" || + $field eq "guid" || $field eq "message") { $data->{$field}=IkiWiki::pagetitle($val); } elsif ($field eq "tag") { @@ -159,7 +160,8 @@ sub savestate () { #{{{ my @line; foreach my $field (keys %$data) { - if ($field eq "name" || $field eq "message") { + if ($field eq "name" || $field eq "feed" || + $field eq "guid" || $field eq "message") { push @line, "$field=".IkiWiki::titlepage($data->{$field}); } elsif ($field eq "tags") { -- cgit v1.2.3