Fixed a br tag bug. Also added formatting for spreadsheet outputs