%general-entities; ]> $LastChangedBy$ $Date$ HTML Tidy-&tidy-version; Introduction to <application>HTML Tidy</application> The HTML Tidy package contains a command line tool and libraries used to read HTML, XHTML and XML files and write cleaned up markup. It detects and corrects many common coding errors and strives to produce visually equivalent markup that is both W3C compliant and compatible with most browsers. Package information Download (HTTP): Download (FTP): Download size: &tidy-size; Estimated Disk space required: &tidy-buildsize; Estimated build time: &tidy-time; Additional downloads Documentation: <application><acronym>HTML</acronym> Tidy</application> dependencies Optional Dmalloc Installation of <application><acronym>HTML</acronym> Tidy</application> The HTML Tidy documentation is contained in a separate tarball. Unpack both the source and docs tarballs before starting the build. Install HTML Tidy by running the following commands: sh build/gnuauto/setup.sh && ./configure --prefix=/usr && make && make install && install -m644 -oroot -groot htmldoc/man_page.txt \ /usr/share/man/man1/tidy.1 && install -d -m755 -oroot -groot /usr/share/doc/tidy && cp -R htmldoc /usr/share/doc/tidy && chown -R root:root /usr/share/doc/tidy Command explanations sh build/gnuauto/setup.sh: This command prepares the source tree for building using the GNU Auto tools. Configuring <application><acronym>HTML</acronym> Tidy</application> Config files The absolute path of the file specified in $HTML_TIDY. Configuration Information The default configuration options can be set in the file defined in $HTML_TIDY. Additional configuration options can be passed to tidy via command line parameters or the -config <file> parameter. Contents The HTML Tidy package contains tidy, tab2space and the libtidy libraries. Description tidy tidy validates, corrects, and pretty-prints HTML files. tab2space tab2space is a utility to expand tabs and ensure consistent line endings. libtidy libraries libtidy libraries provide the HTML Tidy API functions to tidy and can also be called by other programs.