pub fn parse_html(html: &str) -> (String, Vec<MessageEntity>)Expand description
Parse a Telegram-compatible HTML string into (plain_text, entities).
Uses the html5ever spec-compliant tokenizer.
Enable the html5ever Cargo feature to activate this implementation.