@Test
@Rollback(value = false)
public void testhtmlEscape() {
String html = "<p>>100岁</p>";
String value = StringEscapeUtils.unescapeHtml4(html.replaceAll("<.*?>", ""));
System.out.println(value);
}
>100岁
@Test
@Rollback(value = false)
public void testhtmlEscape() {
String html = "<p>>100岁</p>";
String value = StringEscapeUtils.unescapeHtml4(html.replaceAll("<.*?>", ""));
System.out.println(value);
}
>100岁