escape_html_attribute

Function escape_html_attribute 

Source
pub fn escape_html_attribute(text: &str) -> Cow<'_, str>
Expand description

Escape characters to make it safe for an HTML string.