adding escape_uri to be independent of edoc_lib