better handling of external links from search results

Signed-off-by: William Rockwood <wrockwood@tadl.org>