Decoding html content and HTMLParser
<p>I'm creating a sub-class based on 'HTMLParser' to pull out html content. Whenever I have character refs such as </p>

<pre><code>'&amp;nbsp;' '&amp;amp;'  '&amp;ndash;' '&amp;#8230;'
</code></pre>

<p>I'd like to replace them with their English counterparts of </p>

<pre><code>' ' (space), '&amp;', '-', '...', and so on.
</code></pre>

<p>What's the best way to convert some of the simple character refs into their correct representation? </p>

<p>My text is similar to: </p>

<pre><code>Some text goes here&amp;amp;after that,&amp;nbsp;6:30 pm&amp;ndash;8:45pm and maybe 
something like &amp;#8230;
</code></pre>

<p>I would like to convert this to:</p>

<pre><code>Some text goes here &amp; after that, 6:30 pm-8:45pm and maybe 
something like ...
</code></pre>
