@Test
public void escape() throws IOException {

  String[] data = {"<p>foo</p>"};
  Table table = Table.create("t", StringColumn.create("data", data));
  OutputStream baos = new ByteArrayOutputStream();
  table.write().usingOptions(HtmlWriteOptions.builder(baos).build());
  String output = baos.toString();
  assertEquals(
      "<table>"
          + LINE_END
          + " <thead>"
          + LINE_END
          + "  <tr>"
          + LINE_END
          + "   <th>data</th>"
          + LINE_END
          + "  </tr>"
          + LINE_END
          + " </thead>"
          + LINE_END
          + " <tbody>"
          + LINE_END
          + "  <tr>"
          + LINE_END
          + "   <td>&lt;p&gt;foo&lt;/p&gt;</td>"
          + LINE_END
          + "  </tr>"
          + LINE_END
          + " </tbody>"
          + LINE_END
          + "</table>",
      output);
}