Add paragraph formatting in group OCR