Function html_to_text

Source
pub fn html_to_text(html: &str) -> String
Expand description

Strip HTML tags from a string and convert block elements to newlines.

Handles common Zotero note patterns: <p>, <br>, <div>, <b>, <i>. Block-level closing tags (</p>, </div>) insert newlines.