Skip to main content

html_escape

Function html_escape 

Source
pub fn html_escape(value: &str) -> String
Expand description

Escape a string for HTML text or a double-quoted attribute value. & is handled first by construction, so an escaped & is never re-escaped.