@Test public void testEmptyElementFormatHtml() {

    // don't put newlines into empty blocks
    Document doc = Jsoup.parse("<section><div></div></section>");
    assertEquals("<section>\n <div></div>\n</section>", doc.select("section").first().outerHtml());
}