Correcting HTML based on valid formating.