Wrap text blocks in HTML paragraph tags