@Test public void testNotPretty() {

    Document doc = Jsoup.parse("<div>   \n<p>Hello\n there</p></div>");
    doc.outputSettings().prettyPrint(false);
    assertEquals("<html><head></head><body><div>   \n<p>Hello\n there</p></div></body></html>", doc.html());
}