@Test
void testCornerCases()
{

    // ensures that the empty element does not lead to error
    Document document = this.cleaner.clean(new StringReader("<html><head /><body foo=\"\"></body></html>"));
    assertEquals(DefaultHTMLCleanerTest.HEADER + "<html><head></head><body foo=\"\"></body></html>\n",
        HTMLUtils.toString(document));
}