title: if td contains this text , is pulling other elements as well
body: <p>I set up a fiddle here - <a href="https://jsfiddle.net/v1bbsm43/3/" rel="nofollow">https://jsfiddle.net/v1bbsm43/3/</a></p>
  
  <p>I don't have ability to alter the existing HTML on this site, but I'm trying to get some content to append elsewhere, and using contains, it's pulling other data that it shouldn't. I can not find what I'm doing wrong here.</p>
  
  <p>I am just searching the <code>td</code> cell for those that have a span class, and then each <code>span</code> class contains 1 letter, so i am using <code>:contains()</code>, but for some reason other <code>span</code> that do not contain that letter are being cloned as well.</p>
  
  <pre><code>    $('td.two_column_layout .report td.player:has(.warning):contains(O)').clone().appendTo('#InvalidLineup');
      $('td.two_column_layout .report td.player:has(.warning):contains(P)').clone().appendTo('#InvalidLineup2');
      $('td.two_column_layout .report td.player:has(.warning):contains(Q)').clone().appendTo('#InvalidLineup3');
      $('td.two_column_layout .report td.player:has(.warning):contains(S)').clone().appendTo('#InvalidLineup4');
  </code></pre>
  
  <p>When I use <code>:contains(S)</code> or <code>:contains(O)</code>, the function is grabbing content that it should not.</p>