Skip to content

Python wrapper of the HTML Tidy library for fixing invalid HTML. This version patches an unhandled exception in sink.py

License

Notifications You must be signed in to change notification settings

will-frazier/pytidylib_patch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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&otilde;o <img src="bar.jpg">',
    options={'alt-text': 'baz'})
print(document)
print(errors)

For full documentation, see the docs/ directory or http://countergram.github.io/pytidylib/

About

Python wrapper of the HTML Tidy library for fixing invalid HTML. This version patches an unhandled exception in sink.py

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%