]> sipb.mit.edu Git - ikiwiki.git/commitdiff
fix encoding of some stuff
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 30 Jul 2006 06:20:58 +0000 (06:20 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 30 Jul 2006 06:20:58 +0000 (06:20 +0000)
IkiWiki/Plugin/aggregate.pm

index cb04308e6a7dbf7818b181fc454aad7080807fff..a07d45decb33bb8129098934bc0c8f4a11c3875d 100644 (file)
@@ -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") {