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-9.1 platform.
Download (HTTP): https://github.com/htacg/tidy-html5/archive/5.6.0/tidy-html5-5.6.0.tar.gz
Download MD5 sum: 85c8a163d9ece6a02fe12bc9bddbc455
Download size: 649 KB
Estimated disk space required: 11 MB
Estimated build time: 0.2 SBU
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 root
user:
make install && install -v -m755 tab2space /usr/bin
-DCMAKE_BUILD_TYPE=Release
:
This switch is used to build the release library without any debug
`assert` in the code.
-DBUILD_TAB2SPACE=ON
: This
switch is used to enable building the tab2space utility.
Last updated on 2020-02-15 08:54:30 -0800