better link escaping