parse internal links from body