conver new line notation to one space character