aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-29 17:16:51 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-29 17:16:51 -0500
commit64a8c828b8cfa342118dd6e28b9dff43d83c6311 (patch)
tree64d413195168fe7f4616f01b9f832a66cf0096be /IkiWiki.pm
parentfbfbda614dfeb01d1f7156f97125d17d99b4f113 (diff)
downloadikiwiki-64a8c828b8cfa342118dd6e28b9dff43d83c6311.tar
ikiwiki-64a8c828b8cfa342118dd6e28b9dff43d83c6311.tar.gz
* meta: Add pagespec functions to match against title, author, authorurl,
license, and copyright. This can be used to create custom RecentChanges. * meta: To support the pagespec functions, metadata about pages has to be retained as pagestate. * Fix encoding bug when pagestate values contained spaces.
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 db2605672..016c664b5 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -973,7 +973,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});
+ $line.=' '.$id.'_'.encode_entities($key)."=".encode_entities($pagestate{$page}{$id}{$key}, " \t\n");
}
}
}