The Tidy HTML5 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.
This package is known to build and work properly using an LFS-7.8 platform.
Download (HTTP): https://github.com/htacg/tidy-html5/archive/5.1.25.tar.gz
Download MD5 sum: 5fd96deef635ab8cea3dc74079f54d95
Download size: 632 KB
Estimated disk space required: 16 MB
Estimated build time: 0.1 SBU
Tidy HTML5 source tarball shown above downloads with the correct name tidy-html5-5.1.25.tar.gz, if using a browser such as Firefox. If you prefer to use a command line program, such as wget, you obtain 5.1.25.tar.gz. To change the filename, run: mv -vi 5.1.25.tar.gz tidy-html5-5.1.25.tar.gz.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/tidy
Install Tidy HTML5 by running the following commands:
cd build/cmake && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TAB2SPACE=ON \ ../.. && make
This package does not come with a test suite.
Now, as the
make install && install -v -m755 tab2space /usr/bin
If you wish to install the API documentation you must have
Doxygen-1.8.11 installed, then change
directories into the
directory of the source tree and issue the command doxygen doxygen.cfg. Then as the
root user copy the
documentation/temp/tidylib_api directory to
This switch is used to build the release library without any debug
`assert` in the code.
switch is used to enable building the tab2space utility.
The absolute path of the file specified in
The default configuration options can be set in the file defined
configuration options can be passed to tidy via command line
parameters or the
Last updated on 2016-01-31 15:55:06 -0600