fix linkify when no protocol is provided

why doesn't Python let you assign variables in lambdas? :<