@Test
    public void testPreWithAllWhitepsace() {
        String html = "a<pre>\nb\tc </pre>d";
        assertEquals("a<pre><br>b&nbsp;&nbsp;&nbsp;&nbsp;c&nbsp;</pre>d",
                format(html));
    }
Pre space, tab, and newline escaped
app/src/androidTest/java/com/github/pockethub/android/tests/util/HtmlUtilsTest.java