JTidy is a Java port of HTML Tidy, a HTML syntax checker and pretty printer that can clean up malformed HTML and provide a DOM interface.
<dependency>
<groupId>net.sf.jtidy</groupId>
<artifactId>jtidy</artifactId>
<version>r938</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parses and cleans up malformed HTML, outputting XHTML.
Consider using a more modern HTML parser like jsoup for HTML5 compliance.
No dependency data recorded yet.