WP-874: fixed html syntax problem that happens when service address containes spaces