fix #25285: add&remove courtesy accidentals for links
Merge pull request #984 from MarcSabatella/25285-courtesy-link

fix #25285: add&remove courtesy accidentals for links