parse internal links in page text blocks