Handle formatting inside paragraphs when paginating.