title: jsoup: removing iframe tags
body: <p>I am using jsoup 1.6.1 and facing the problem when I try to remove iframe tag from html. When iframe do not have any body(i.e &lt;iframe pro=value />), the remove() method removes all the contents after thet tag. Here is my sample code.</p>
  
  <pre><code>String html ="&amp;lt;p&gt; This is start.&amp;lt;/p&gt;&amp;lt;iframe frameborder="0" marginheight="0" /&gt;&amp;lt;p&gt; This is end&amp;lt;/p&gt;";
  Document doc = Jsoup.parse(html,"UTF-8");&lt;br&gt;
  doc.select("iframe").remove();&lt;br&gt;
  System.out.println(doc.text());
  </code></pre>
  
  <p>It returns to me - </p>
  
  <pre><code>This is start.
  </code></pre>
  
  <p>But I am expecting the result - </p>
  
  <pre><code>This is start. This is end
  </code></pre>
  
  <p>Thanks in advance</p>