diff --git a/feilong-net-jsoup/src/test/java/com/feilong/net/jsoup/MyTestMain.java b/feilong-net-jsoup/src/test/java/com/feilong/net/jsoup/MyTestMain.java index 2737a26..19ca5c0 100644 --- a/feilong-net-jsoup/src/test/java/com/feilong/net/jsoup/MyTestMain.java +++ b/feilong-net-jsoup/src/test/java/com/feilong/net/jsoup/MyTestMain.java @@ -33,6 +33,8 @@ public static void main(String[] args){ String unsafe = "

开源中国社区

"; String safe = Jsoup.clean(unsafe, Whitelist.basic()); LOGGER.debug(safe); + + LOGGER.debug(doc.text()); // 输出 : //

开源中国社区

}