pytidylib-doc

Python wrapper for html tidy (tidylib) documentation
  http://countergram.com/open-source/pytidylib/
  0
  no reviews



Pytidylib is a python package that wraps the html tidy library. this allows you, from python code, to ??fix?? invalid (x)html markup. some of the library??s many capabilities include:

* clean up unclosed tags and unescaped characters such as ampersands
* output html 4 or xhtml, strict or transitional, and add missing doctypes
* convert named entities to numeric entities, which can then be used in xml
documents without an html doctype.
* clean up html from programs such as word (to an extent)
* indent the output, including proper (i.e. no) indenting for pre elements,
which some (x)html indenting code overlooks.
this package contains the built html and pdf documentation for pytidylib.