pub fn safe_href(link: &str) -> Option<&str>
A link fit for an href: a site path (/about, not //host), a fragment, or an http(s), mailto or tel address. Anything else (javascript:, data:, a bare word) is None.
href
/about
//host
http(s)
mailto
tel
javascript:
data:
None