to_entities_html4

Function to_entities_html4 

Source
pub fn to_entities_html4(input: String) -> Result<String>
Expand description

Replace applicable characters with their HTML 4.0 named HTML entities.

Unknown characters are left as-is. Those with HTML syntax significance are encoded, except ’.