adding brackets to edit links