title: :has:contains with variable instead of string
body: <p>I've got this code in jquery</p>
  
  <pre><code>$('.candidate-single:has(p:contains("Norfolk"))').addClass('is-hidden');
  </code></pre>
  
  <p>In place of where it says Norfolk I want to use a variable but can't seem to get it to work. I take it i need to escape the string somehow but can't quite work out how. </p>
  
  <p>Thank you!</p>