This module provides functions to tidy a HTML document.
The functions in this module take an HTML document (a string) as parameter,
tidy it in order to result in valid XHTML, and return this XHTML document as a document-node.
This function tidies the given HTML string and returns a valid XHTML document node.
This functions automatically sets the following tidying parameters:
This function tidies the given HTML string and returns a valid XHTML document node.
The second parameter allows to specify options that configure the tidy process. This parameter is a sequence of name=value pairs. Allowed parameter names and values are documented at http://tidy.sourceforge.net/docs/quickref.html.