diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-03-17 13:08:16 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-03-17 13:08:16 -0400 |
commit | 52d9f8e9f38f03efd0b1662f3f2d20ce115ed099 (patch) | |
tree | ab1245ba13f2f69a613163e1d0213fe53b53f300 /IkiWiki.pm | |
parent | 57a41b663d438cbc99a3a0132cb4c7b69bb2d97e (diff) | |
download | ikiwiki-52d9f8e9f38f03efd0b1662f3f2d20ce115ed099.tar ikiwiki-52d9f8e9f38f03efd0b1662f3f2d20ce115ed099.tar.gz |
* Correct bug in encoding of %pagestate keys, fixes edittemplate.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 666a625e6..668de7e93 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -962,7 +962,7 @@ sub saveindex () { #{{{ if (exists $pagestate{$page}) { foreach my $id (@hookids) { foreach my $key (keys %{$pagestate{$page}{$id}}) { - $line.=' '.$id.'_'.encode_entities($key)."=".encode_entities($pagestate{$page}{$id}{$key}, " \t\n"); + $line.=' '.$id.'_'.encode_entities($key, " \t\n")."=".encode_entities($pagestate{$page}{$id}{$key}, " \t\n"); } } } |