convert block of text to one line.