Fix problem caused by using inappropriate html properties