Uses restorePassthroughs() and subInlineXrefs() and  subInlineAnchors().