Skip to main content

decode_html_entities

Function decode_html_entities 

Source
pub fn decode_html_entities(html: &str) -> String
Expand description

Decode HTML entities to unicode characters.

Converts HTML entities like &, <, ', ' etc. to their actual unicode character equivalents.

§Arguments

  • html - The HTML content containing entities to decode

§Returns

The content with all HTML entities decoded to unicode