cleanup of dupe html tags