title: Make sequence of string.replace statements more readable
body: <p>When I'm processing HTML code in Python I have to use the following code because of special characters.</p>
  
  <pre><code>line = string.replace(line, "&amp;quot;", "\"")
  line = string.replace(line, "&amp;apos;", "'")
  line = string.replace(line, "&amp;amp;", "&amp;")
  line = string.replace(line, "&amp;lt;", "&lt;")
  line = string.replace(line, "&amp;gt;", "&gt;")
  line = string.replace(line, "&amp;laquo;", "&lt;&lt;")
  line = string.replace(line, "&amp;raquo;", "&gt;&gt;")
  line = string.replace(line, "&amp;#039;", "'")
  line = string.replace(line, "&amp;#8220;", "\"")
  line = string.replace(line, "&amp;#8221;", "\"")
  line = string.replace(line, "&amp;#8216;", "\'")
  line = string.replace(line, "&amp;#8217;", "\'")
  line = string.replace(line, "&amp;#9632;", "")
  line = string.replace(line, "&amp;#8226;", "-")
  </code></pre>
  
  <p>It seems there will be much more such special characters I have to replace. Do you know how to make this code more elegant?</p>
  
  <p>thank you</p>