Fixed up list handling (extra line breaks)