From 15a0a151bf08a2e4a12e6e3bbc6f047b14090979 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 23 Aug 2008 12:28:18 -0400 Subject: fix links to inserted parent pages The parent page names had "/" prepended, which caused broken links. --- IkiWiki/Plugin/map.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/map.pm b/IkiWiki/Plugin/map.pm index 4a89fbc35..429493b9e 100644 --- a/IkiWiki/Plugin/map.pm +++ b/IkiWiki/Plugin/map.pm @@ -106,22 +106,22 @@ sub preprocess (@) { #{{{ } } my @bits=split("/", $item); - my $p=""; - $p.="/".shift(@bits) for 1..$indent; while ($depth > $indent) { $indent++; if ($indent > 1) { $map .= "