diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-30 06:20:58 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-30 06:20:58 +0000 |
commit | b0885a7278186f3397cc08d77b1b5399880c9ead (patch) | |
tree | 046e2a78baf0c811a2c243828360b8a315b64478 /IkiWiki | |
parent | 1d0f4b665cc6244573a4cdca4a010ece5595066e (diff) | |
download | ikiwiki-b0885a7278186f3397cc08d77b1b5399880c9ead.tar ikiwiki-b0885a7278186f3397cc08d77b1b5399880c9ead.tar.gz |
fix encoding of some stuff
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/aggregate.pm | 6 |
1 files 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") { |