A new Python wrapper for tidylib, which allows you to convert slightly invalid HTML/XHTML markup into valid markup. E.g. this Python tidy library will correct unescaped ampersands, some unclosed tags, missing elements, missing attributes, etc. Tidylib is highly configurable. It can output HTML or XHTML, and perform other functions such as converting named entities to numeric entities (named entities work only along with an HTML or XHTML doctype, numeric entities work in generic XML data).
A new Python wrapper for tidylib, which allows you to convert slightly invalid HTML/XHTML markup into valid markup. E.g. this Python tidy library will correct unescaped ampersands, some unclosed tags, missing elements, missing attributes, etc. Tidylib is highly configurable. It can output HTML or XHTML, and perform other functions such as converting named entities to numeric entities (named entities work only along with an HTML or XHTML doctype, numeric entities work in generic XML data).
To install py38-pytidylib, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install py38-pytidylib
To see what files were installed by py38-pytidylib, run:
port contents py38-pytidylib
To later upgrade py38-pytidylib, run:
sudo port selfupdate && sudo port upgrade py38-pytidylib
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.