Java library for syntax checking and pretty printing HTML
jtidy is a Java port of HTML Tidy, a HTML syntax checker and pretty printer. Like its non-Java cousin, jtidy can be used as a tool for cleaning up malformed and faulty HTML. In addition, jtidy provides a DOM interface to the document that is being processed, which effectively makes you able to use jtidy as a DOM parser for real-world HTML.
jtidy is a Java port of HTML Tidy, a HTML syntax checker and pretty printer. Like its non-Java cousin, jtidy can be used as a tool for cleaning up malformed and faulty HTML. In addition, jtidy provides a DOM interface to the document that is being processed, which effectively makes you able to use jtidy as a DOM parser for real-world HTML.
To install jtidy, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install jtidy
To see what files were installed by jtidy, run:
port contents jtidy
To later upgrade jtidy, run:
sudo port selfupdate && sudo port upgrade jtidy
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.