Anchor ID being stripped

I definitely think there’s been a bug introduced with “links”.
I’m not at a Mac now so I can’t confirm this, but I think it’s related to this post from Joe (@joemart1951):