re-usable text escaping

    fixes #8995