pub fn preprocess_html_entities(content: &str) -> StringExpand description
Pre-process XML content to handle common HTML entities.
EPUB files often contain HTML entities like that are not
recognized by strict XML parsers. This function replaces them with
numeric character references that XML parsers can understand.