allowing paragraphs to be centered if they contain a center class