fixed external-link url generation bug
Merge branch 'hotfix/external-links'