remove the redundance line breaks in the paragraph