且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

JSoup使用未关闭的标记解析无效的HTML

更新时间:2023-12-05 22:10:46

正确的行为是在解析此无效HTML时充当其他浏览器。感谢您提交此错误。我已经修复了阻止采用代理商在新节点中保留原始属性的问题。它将在1.7.3中提供,或者您现在可以从头开始构建。

The correct behavior is to act as other browsers when parsing this invalid HTML. Thanks for filing this bug. I've fixed the issue that was preventing the adoption agency from keeping the original attributes in the new node. It will be available in 1.7.3, or you can build from head now.