to_entities

Function to_entities 

Source
pub fn to_entities(input: String, set: EntitySet) -> Result<String>
Expand description

Replace applicable characters with named HTML entities from the specified entity set.

Unknown characters are left as-is.