HTML2Text, HTML to plain text converter
This class converts HTML to plain, formatted ASCII text. By default, the text is wrapped to 70 characters, and some basic formatting is applied to preserve some of the HTML formatting. For example:<br> <ul> <li>Paragraphs are indented</li> <li>Heading tags <h1> - <h3> are all caps</li> <li>Horizontal lines, <hr>, are converted to hyphens</li> <li>Links are preserved as a footnoted list at the end</li> </ul>