From: Simon McVittie Date: Fri, 3 Aug 2012 11:53:25 +0000 (+0100) Subject: map: postprocess to collapse useless \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 *
    \n}{\n}gs; + $map =~ s{}{}g; $map .= "\n"; return $map; }