Description
Connects Python code to TidyLib for cleaning, repairing, and formatting HTML. It helps tools normalize messy markup, improve document structure, or prepare HTML before further processing.
Developers use it as an HTML processing library. Cleaning HTML does not make untrusted content safe by itself, so use proper sanitization before rendering user-provided markup.