Function html_escape::encode_safe [−][src]
pub fn encode_safe<S: ?Sized + AsRef<str>>(text: &S) -> Cow<'_, str>
Encode text to prevent special characters functioning.
The following characters are escaped:
&=>&<=><>=>>"=>"'=>'/=>/