matrix_sdk::ruma::html

Function remove_html_reply_fallback

Source
pub fn remove_html_reply_fallback(s: &str) -> String
Expand description

Remove the rich reply fallback of the given HTML string.

Due to the fact that the HTML is parsed, note that malformed HTML and comments will be stripped from the output.