Skip to main content

html_href

Function html_href 

Source
pub fn html_href(uri: &str) -> String
Expand description

The destination escaped for an HTML href="…" attribute (Python’s html.escape: &, <, >, ", '), for a safe destination — the caller leaves the <a> out for an unsafe one.