diff --git a/IkiWiki/Plugin/map.pm b/IkiWiki/Plugin/map.pm index 6567331fa..4a9bf58db 100644 --- a/IkiWiki/Plugin/map.pm +++ b/IkiWiki/Plugin/map.pm @@ -103,7 +103,7 @@ sub preprocess (@) { $addparent=""; $map .= ($spaces x $indent) . "\n"; if ($indent > 1) { - $map .= ($spaces x $indent) . "\n"; + $map .= ($spaces x $indent) . "\n"; } $indent--; } @@ -120,7 +120,7 @@ sub preprocess (@) { while ($depth > $indent) { $indent++; if ($indent > 1) { - $map .= ($spaces x $indent) . "\n *