Attempt to fix matching of URLs to highlight links.