Implement first part of subInlineAnchors().