Fixed capturing internal links.