title: JSOUP Element.html("<th>test</th>") ignore th tags
body: <p>I work on a html templating engine based on jsoup.
  JSOUP ignore th and td flags if element is not inside table;</p>
  
  <p>To deal with this, I change parser to :</p>
  
  <pre><code>    final Document docToWrite = Jsoup.parse(docToRead.outerHtml(),"", Parser.xmlParser());
  </code></pre>
  
  <p>But I didn't find any solution to fill an Element with html that contain a td or a th:</p>
  
  <pre><code>    element.html("&lt;th&gt;test&lt;/th&gt;");
  </code></pre>
  
  <p>return only test, because JSOUP is cleaning html by removing unused tags</p>
  
  <p>How can I solve this?</p>
  
  <p>Thank you</p>