From af8712cfac73d7668e509abf97eeabb5e824c29b Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 3 Aug 2012 12:53:25 +0100 Subject: [PATCH] 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; }