$(function(){
    
    $("*:contains('&amp;')", document.body).contents().each(
      function() {
        if( this.nodeType == 3 ) {
          $(this).replaceWith( this.nodeValue.replace( /&amp;/g, "&" ));
            }
         }
    );
    
    $("*:contains('&rsquo;')", document.body).contents().each(
      function() {
        if( this.nodeType == 3 ) {
          $(this).replaceWith( this.nodeValue.replace( /&rsquo;/g, "'" ));
            }
         }
    );
    
    $("*:contains('&ldquo;')", document.body).contents().each(
      function() {
        if( this.nodeType == 3 ) {
          $(this).replaceWith( this.nodeValue.replace( /&ldquo;/g, "'" ));
            }
         }
    );
    
    $("*:contains('&quot;')", document.body).contents().each(
      function() {
        if( this.nodeType == 3 ) {
          $(this).replaceWith( this.nodeValue.replace( /&quot;/g, "\"" ));
            }
         }
    );
    
    $("*:contains('&ndash;')", document.body).contents().each(
      function() {
        if( this.nodeType == 3 ) {
          $(this).replaceWith( this.nodeValue.replace( /&ndash;/g, "\"" ));
            }
         }
    );
    
    $("*:contains('&mdash;')", document.body).contents().each(
      function() {
        if( this.nodeType == 3 ) {
          $(this).replaceWith( this.nodeValue.replace( /&mdash;/g, "\"" ));
            }
         }
    );
    
});