Removes duplicate HTML