Python wrapper of the HTML Tidy library for fixing invalid HTML
Switch branches/tags
Nothing to show
Latest commit 1ba4e32 Apr 24, 2017 @jasonstitt jasonstitt Update doc link

This is a Python wrapper around the HTML Tidy library. Quick start example:

from tidylib import Tidy
tidy = Tidy()
document, errors = tidy.tidy_document('<p>f&otilde;o <img src="bar.jpg">',
    options={'alt-text': 'baz'})

For full documentation, see the docs/ directory or