title: Use jQuery to check if text equals an html special character
body: <p>I have an html special character I want to toggle off and on like a check box.  In this instance, it's a star: &#9734; that can become filled in: &#9733;.</p>
  
  <p>I want to check the state of the star when it is clicked.</p>
  
  <pre><code>$(".action_table_star").click(function() {
      if ($(this).html() == "&amp;#9733;") {
          $(this).html("&amp;#9734;");
          $(this).css('color', 'white');
      } else {
          $(this).html("&amp;#9733;");
          $(this).css('color', 'rgb(255,165,0)');
      }
  });
  </code></pre>
  
  <p>This doesn't work though because $(this).html() is never equal to "&amp;#9733".  How can I rewrite this if statement to I guess decode the html special character and check it's "state"?</p>