pub fn preview_html(html: &str, max_len: usize) -> StringExpand description
A text preview of an HTML document: crate::html_to_text of the
document cut like preview_text. Only the part of the document that
the preview needs is converted.
pub fn preview_html(html: &str, max_len: usize) -> StringA text preview of an HTML document: crate::html_to_text of the
document cut like preview_text. Only the part of the document that
the preview needs is converted.