edit string around link