to_entities_html5

Function to_entities_html5 

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

Replace applicable characters with their HTML 5 named HTML entities.

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