Function html_encode

Source
pub fn html_encode<S>(input: S) -> String
where S: Into<String>,
Expand description

Encodes a string for HTML.

§Arguments

  • input - A value that can be converted into a String.

§Returns

A new String that is HTML encoded.