title: Exception: Could not parse query :containsOwn(text)
body: <p>hi all
  i am using jsoup in a java-ee app to parse html </p>
  
  <p>i want to get the first tag which contains a text,
  and when trying to run the following code, i got an exception:</p>
  
  <pre><code>org.jsoup.select.Selector$SelectorParseException: Could not parse query :containsOwn(text)
      at org.jsoup.select.Selector.findElements(Selector.java:143)
      at org.jsoup.select.Selector.select(Selector.java:90)
      at org.jsoup.select.Selector.select(Selector.java:68)
      at org.jsoup.nodes.Element.select(Element.java:162)
  </code></pre>
  
  <p>code is:</p>
  
  <pre><code>String html = "&lt;html&gt;&lt;head&gt;&lt;style type=\"text/css\"&gt;&lt;/style&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=\"font-family:times new roman,new york,times,serif;font-size:14pt\"&gt;first text&lt;br&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style=\"font-family: times new roman,new york,times,serif; font-size: 14pt;\"&gt;&lt;br&gt;&lt;div style=\"font-family: times new roman,new york,times,serif; font-size: 12pt;\"&gt;&lt;font size=\"2\" face=\"Tahoma\"&gt;&lt;hr size=\"1\"&gt;&lt;b&gt;&lt;span style=\"font-weight: bold;\"&gt;one:&lt;/span&gt;&lt;/b&gt; second text&lt;br&gt;&lt;b&gt;&lt;span style=\"font-weight: bold;\"&gt;two:&lt;/span&gt;&lt;/b&gt; third text&lt;br&gt;&lt;b&gt;&lt;span style=\"font-weight: bold;\"&gt;three:&lt;/span&gt;&lt;/b&gt; fourth text&lt;br&gt;&lt;b&gt;&lt;span style=\"font-weight: bold;\"&gt;five:&lt;/span&gt;&lt;/b&gt; fifth text&lt;br&gt;&lt;/font&gt;&lt;br&gt;";
          Document document = Jsoup.parse(html);
          String firstText = document.select(":containsOwn(text)").first().text();
          System.out.println(firstText);
  </code></pre>
  
  <p>so any ideas ?</p>