Go to file
2014-11-22 15:42:28 +08:00
build Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
console Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
experimental new 2011-11-17 11:44:16 +09:00
htmldoc Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
include Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
src Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
test Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
.gitignore more msvc ignores 2012-07-06 15:48:50 +09:00
CMakeLists.txt Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
html5-for-html-tidy.patch-2 Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
Makefile Never automatically re-make the API docs. 2012-03-01 23:03:24 +09:00
README.html Add info about building shared lib. Fixes #25. 2012-03-28 00:41:17 +09:00
README.md Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00

HTML Tidy with HTML5 support

This repo is a fork of the code from w3c.github.com/tidy-html5, which itself is a fork of tidy.sourceforge.net.

This source code in this version supports processing of HTML5 documents. The changes for HTML5 support started from a patch developed by Björn Höhrmann.

For more information, see w3c.github.com/tidy-html5

Build the tidy library and command line tool

  1. cd build/cmake

  2. cmake ../.. [-DCMAKE_INSTALL_PREFIX=/path/for/install]

  3. Windows: cmake --build . --config Release Unix/OSX: make

  4. Install, if desired Windows: cmake --build . --config Release --target INSTALL UNix/OSX: [sudo] make install

Older/Previous Build systems

Building the tidy command-line tool

For Linux/BSD/OSX platforms, you can build and install the tidy command-line tool from the source code using the following steps.

  1. make -C build/gmake/

  2. make install -C build/gmake/

Note that you will either need to run make install as root, or with sudo make install.

Building the libtidy shared library

For Linux/BSD/OSX platforms, you can build and install the tidylib shared library (for use in building other applications) from the source code using the following steps.

  1. sh build/gnuauto/setup.sh && ./configure && make

  2. make install

Note that you will either need to run make install as root, or with sudo make install.

;eof