Fix text output for paragraphs