pub fn html_to_text(html: &str) -> StringExpand description
Convert HTML to clean, readable text optimized for LLM consumption.
Strips tags, converts headings to markdown # prefixes, list items to
- bullets, bold to **text**, images to [image: alt], tables to
tab-separated text, and decodes HTML entities.