title: How to remove elements with whitespace?
body: <p>I can easily remove a tag that has no blank spaces...</p>
  
  <pre><code>$('h2:empty').remove();
  </code></pre>
  
  <p>But, when there is a space...</p>
  
  <pre><code>&lt;h2&gt; &lt;/h2&gt; 
  </code></pre>
  
  <p>...this does not work.</p>
  
  <p>I tried</p>
  
  <pre><code>if ($('h2').html() == " "){
      $('h2').remove(); 
  }
  </code></pre>
  
  <p>Also no luck. Can someone help with this? </p>