url resolving in text expanding