If I do a special search, there is an "\n" printed on the bottom of the results page.
This came from
$out->addHTML( '<div class="visualClear"></div>\n' );
in line 391 of includes/specials/SpecialSearch.php
Seems like its not rendered as a newline. Instead "\n" shows up. When I delete it its fine.
Cheers