Fix external link handling