From 52d9f8e9f38f03efd0b1662f3f2d20ce115ed099 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 17 Mar 2008 13:08:16 -0400 Subject: * Correct bug in encoding of %pagestate keys, fixes edittemplate. --- IkiWiki.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki.pm') 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"); } } } -- cgit v1.2.3