Index: lib/TWiki.pm =================================================================== --- lib/TWiki.pm (revision 3933) +++ lib/TWiki.pm (working copy) @@ -1471,7 +1471,7 @@ $highest--; $result =~ s/^\t{$highest}//gm; } - return CGI::div( { -class=>'twikiToc' }, $title.$result ); + return CGI::div( { -class=>'twikiToc' }, "$title$result\n" ); } else { return ''; }