Remove blank lines before and after listing