@Test
public void testEscapeNoAttribute() throws Exception
{

    // "No attribute" doesn't escape double and single quotes.
    StringWriter writer = new StringWriter();
    escapeHandler.escape(TEST_BUFFER.toCharArray(), 0, TEST_BUFFER.length(), false, writer);
    assertEquals("A&lt;&gt;&amp;\"'&#x1;\t", writer.toString());
}