summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2007-12-08 18:25:22 -0500
committerJoey Hess <joey@kitenet.net>2007-12-08 18:25:22 -0500
commitff97b0358bfeffdca5af9b884ae831599bf43403 (patch)
tree0a1b48addc9c32ec255950216498cb922e99ec72
parent055179cb4cc9b8bc9b204e1a9f83b1f59e13824e (diff)
bug fix
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index ab94f8622..cdbcd2481 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -871,7 +871,7 @@ sub loadindex () { #{{{
$pagecase{lc $page}=$page;
foreach my $k (grep /_/, keys %items) {
my ($id, $key)=split(/_/, $k, 2);
- $pagestate{$page}{decode_entities($id)}{decode_entities($key)}=$items{$k};
+ $pagestate{$page}{decode_entities($id)}{decode_entities($key)}=$items{$k}[0];
}
}
$oldrenderedfiles{$page}=[@{$items{dest}}];