pub fn parse_html(html: &str) -> (String, Vec<MessageEntity>)Available on crate feature
html5ever only.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.