Function html_escape::encode_text
source · pub fn encode_text<S: ?Sized + AsRef<str>>(text: &S) -> Cow<'_, str>Expand description
Encode text used as regular HTML text.
The following characters are escaped:
&=>&<=><>=>>