Handle page internal links inside reference display

Bug: 68336
Change-Id: I12b0ce1c33d388e7f57a128157b6ef481602df6e
Merge "Handle page internal links inside reference display"