v 0.3.2 Updated: 1 year, 3 months ago

Python wrapper for tidylib

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 py39-pytidylib, paste this in macOS terminal after installing MacPorts

sudo port install py39-pytidylib

Add to my watchlist

Installations 0
Requested Installations 0