pub fn html_to_text_impl(html: &str) -> String
Core implementation shared by the standalone function and read_file transform.