public String endTable() { Assert.isTrue(htmlTable); String result = table.toHTMLTable().toString(); table.newTable(); return result; }