Function html_escape::encode_text_minimal_to_string
source · pub fn encode_text_minimal_to_string<S: AsRef<str>>(
text: S,
output: &mut String
) -> &str
Expand description
Write text used as regular HTML text to a mutable String
reference and return the encoded string slice.
The following characters are escaped:
&
=>&
<
=><