jsoup version 1.2.1 released

2010-Jun-21 I am pleased to announce that jsoup version 1.2.1 is now available for download.

jsoup is a Java library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods.

What's new in this release

New features

  • Added :contains(text) Selector, to search for elements containing the specified text

Bug fixes

  • Fixes an issue where appending / prepending rows to a table (or to similar implicit element structures) would create a redundant wrapping elements (issue #21)
  • Improved implicit close tag heuristic detection when parsing malformed HTML
  • Fixes an issue where text content after a script (or other data-node) was incorrectly added to the data node. (issue #22)
  • Fixes an issue where text order was incorrect when parsing pre-document HTML. (issue #23)

If you have any suggestions for the next release, I would love to hear them; please get in touch via the mailing list.