https://jsoup.org/cookbook/introduction/parsing-a-document jsoup 文档中并没有找到 关闭补全的方法 , 相反,文档中说,不管html片段全不全都能解析 另外你说另外的解析html的工具,我倒是知道一个 HTMLParser http://htmlparser.sourceforge.net/
你说的html标签不全补全是指的开头和结尾加上 <html> <head></head> <body> </body> </html>这个吗?
<html> <head></head> <body> </body> </html>
62,629
社区成员
307,258
社区内容
加载中
试试用AI创作助手写篇文章吧