aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-17 13:08:16 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-17 13:08:16 -0400
commit52d9f8e9f38f03efd0b1662f3f2d20ce115ed099 (patch)
treeab1245ba13f2f69a613163e1d0213fe53b53f300 /IkiWiki.pm
parent57a41b663d438cbc99a3a0132cb4c7b69bb2d97e (diff)
downloadikiwiki-52d9f8e9f38f03efd0b1662f3f2d20ce115ed099.tar
ikiwiki-52d9f8e9f38f03efd0b1662f3f2d20ce115ed099.tar.gz
* Correct bug in encoding of %pagestate keys, fixes edittemplate.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
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");
}
}
}