pub fn encode_entities(s: &str, escape_quotes: bool) -> String
Encodes the characters <, > and & in a string as HTML entities. If escape_quotes is true, the characters ' and " are additionally encoded.
<
>
&
escape_quotes
'
"