Skip to content

Python ctypes-based wrapper of the HTML Tidy library for fixing invalid (X)HTML

License

Notifications You must be signed in to change notification settings

waylan/pytidylib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For documentation, see docs/html/index.html in this distribution, or
http://countergram.com/open-source/pytidylib/

Small example of use:

from tidylib import tidy_document
document, errors = tidy_document('''<p>f&otilde;o <img src="bar.jpg">''',
    options={'numeric-entities':1})
print document
print errors

About

Python ctypes-based wrapper of the HTML Tidy library for fixing invalid (X)HTML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.8%
  • JavaScript 43.2%