pub fn html_to_text(input: &str) -> StringExpand description
Converts HTML to plain text: tags are removed, entities decoded and
white space collapsed; <br> and </p> become line breaks; the content
of <head>, <style>, <script> and <template> is skipped.