pub fn percent_decode(s: &str) -> StringExpand description
Percent-decode a markdown link URL. Public for the same reason
strip_md_ext is.
ยงExamples
use markdown_link::percent_decode;
assert_eq!(percent_decode("My%20Note"), "My Note");
assert_eq!(percent_decode("%zz"), "%zz"); // not hex, kept as written
assert_eq!(percent_decode("%FF"), "%FF"); // not UTF-8, kept as written