pub fn quote_url_path(s: &str) -> StringExpand description
urllib.parse.quote(s) with its default safe='/': every byte of the
UTF-8 encoding outside A-Za-z0-9, _.-~ and / becomes %XX
(upper-case hex). StandaloneHTMLBuilder.get_target_uri applies it to
a docname before appending the link suffix, so my page links as
my%20page.html and reads back as one token in an inventory line.