replace line breaks with a space