Removal of duplicate html tags