Get the text into reasonable shape