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