Select elements with certain content as direct child node
<p>I want to select every cell that has a certain text as content. I do it like that:</p>

<pre><code>$("td:contains('Some Text')")
</code></pre>

<p>But in the following mark up that expression finds two <code>td</code>s:</p>

<pre><code>&lt;table&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;table&gt;
        &lt;tr&gt;
          &lt;td&gt;Some Text&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>I only want the cell that actually contains the text, not the cell that contains a table that contains the text in one of its cells.</p>

<p><strong>How do I modify my selector to get there?</strong></p>
