merge paragraphs into one