@Test public void testKeepsPreText() {

    String h = "<p>Hello \n \n there.</p> <div><pre>  What's \n\n  that?</pre>";
    Document doc = Jsoup.parse(h);
    assertEquals("Hello there.   What's \n\n  that?", doc.text());
}