From 930584cff747d87635da192585030d4fb30a2893 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 7 Nov 2007 16:34:50 -0500 Subject: * map: Recent changes caused unnecessary ul's to be inserted for items that were all at the same level, fix. Closes: #449285 --- IkiWiki/Plugin/map.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/map.pm b/IkiWiki/Plugin/map.pm index 65a6ed552..b08d78d76 100644 --- a/IkiWiki/Plugin/map.pm +++ b/IkiWiki/Plugin/map.pm @@ -61,6 +61,7 @@ sub preprocess (@) { #{{{ my $parent=""; my $indent=0; my $openli=0; + my $dummy=0; my $map = "
\n\n"; } } + $dummy=0; while ($depth < $indent) { $indent--; $map .= "\n"; @@ -91,6 +94,7 @@ sub preprocess (@) { #{{{ $map .= "