ref elements are ignored in the critical note, that is to say they do not link to the resource listed in bibliography. This is the code:  And ref is not a link in the note: 