Go to file
2014-08-04 16:53:21 +02:00
build minor tweak for linux build 2014-08-04 16:53:21 +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 minor tweak for linux build 2014-08-04 16:53:21 +02:00
test Add abt 30 test files, and a testhtml5.cmd 2014-08-03 21:04:36 +02:00
.gitignore Add more msvc folders and files to .gitignore 2012-01-19 18:59:34 +01:00
CMakeLists.txt Add a cmake build system 2014-08-03 20:08:57 +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