[−][src]Function html_escape::encode_text_minimal
pub fn encode_text_minimal<S: ?Sized + AsRef<str>>(text: &S) -> Cow<str>
Encode text used as regular HTML text.
The following characters are escaped:
&=>&<=><
pub fn encode_text_minimal<S: ?Sized + AsRef<str>>(text: &S) -> Cow<str>
Encode text used as regular HTML text.
The following characters are escaped:
& => &< => <