Properly implement link truncation