should escape attachment.text before giving it to searchAndLinkxxx