Better link target parsing.