Added purifier to renderBody function