modifying end tag on pub-id example