Corrects the markup