* Correct bug in encoding of %pagestate keys, fixes edittemplate.

master
Joey Hess 2008-03-17 13:08:16 -04:00
parent 57a41b663d
commit 52d9f8e9f3
3 changed files with 4 additions and 1 deletions

View File

@ -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");
}
}
}

1
debian/changelog vendored
View File

@ -44,6 +44,7 @@ ikiwiki (2.41) UNRELEASED; urgency=low
* htmltidy: Pass --markup yes, in case tidy's config file disabled it.
* external: Add getargv and setargv methods to allow access to ikiwiki's
@ARGV.
* Correct bug in encoding of %pagestate keys, fixes edittemplate.
-- martin f. krafft <madduck@debian.org> Sun, 02 Mar 2008 17:46:38 +0100

View File

@ -3,3 +3,5 @@ I tried to use [[the_edittemplate_plugin|plugins/edittemplate]] on <http://vcs-p
I hope I am not doing something wrong...
--[[madduck]]
> [[fixed|done]] --[[Joey]]