README 304 B

12345678910
  1. This is a Python wrapper around the HTML Tidy library. Quick start example:
  2. from tidylib import Tidy
  3. tidy = Tidy()
  4. document, errors = tidy.tidy_document('<p>f&otilde;o <img src="bar.jpg">',
  5. options={'alt-text': 'baz'})
  6. print(document)
  7. print(errors)
  8. For full documentation, see the docs/ directory.