Skip to main content

clean_html

Function clean_html 

Source
pub fn clean_html(html: &str) -> Result<String>
Expand description

Clean HTML content and convert to Markdown-like structured text. This preserves structural elements like headings, lists, and tables which are valuable for LLM understanding.