forked from countergram/pytidylib
-
Notifications
You must be signed in to change notification settings - Fork 0
Python ctypes-based wrapper of the HTML Tidy library for fixing invalid (X)HTML
License
kasrinat/pytidylib
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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õo <img src="bar.jpg">',
options={'alt-text': 'baz'})
print(document)
print(errors)
For full documentation, see the docs/ directory.
About
Python ctypes-based wrapper of the HTML Tidy library for fixing invalid (X)HTML
Resources
License
Stars
Watchers
Forks
Languages
- Python 100.0%