Go to file
2014-08-06 15:33:42 +02:00
build ignore the msvc ipch folder 2014-08-06 15:33:42 +02:00
console No output unless not NDEBUG and _MSC_VER 2014-08-03 20:52:10 +02:00
experimental new 2011-11-17 11:44:16 +09:00
htmldoc some documentation updates, but not checked 2014-08-03 19:25:09 +02:00
include main code updates to do HTML5 2014-08-03 20:33:29 +02:00
src fix GTDBG macro for gcc 2014-08-06 12:50:06 +02:00
test add output to compare script 2014-08-06 12:12:49 +02:00
.gitignore soem tweaks to the shell test scripts 2014-08-05 19:08:53 +02:00
CMakeLists.txt Detect 64-bit, and set WIN64 for windows 2014-08-06 15:07:00 +02:00
html5-for-html-tidy.patch-2 new 2011-11-17 11:44:16 +09:00
Makefile Another OLD Makefile update 2014-08-03 19:26:43 +02:00
README.html More documentation updates, but to be corrected later 2014-08-03 19:31:32 +02:00
README.md update README.md for using cmake 2014-08-03 21:14:48 +02: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