I'm not sure why the replace is there. Replace first newline with a space...?