pull/157/head
yihua.huang 11 years ago
parent 9866297ec4
commit 4446669c24

@ -20,6 +20,7 @@ public class HtmlTest {
@Test
public void testDisableJsoupHtmlEntityEscape() throws Exception {
Html.DISABLE_HTML_ENTITY_ESCAPE = true;
Html html = new Html("aaaaaaa&b");
assertThat(html.regex("(aaaaaaa&b)").toString()).isEqualTo("aaaaaaa&b");
}

Loading…
Cancel
Save