added support for a wrap_paragraphs config setting