Fixing HTML validity errors.