Handle internal/external links better