Go to file
2015-02-27 12:53:53 +01:00
build add install to build 2015-02-22 18:42:55 +01:00
console add small 'sample' API use, optional build 2015-02-07 15:33:13 +01:00
experimental new 2011-11-17 11:44:16 +09:00
include Issue #130 - Add TidyAttr_DISPLAY for math tag 2015-02-13 18:37:07 +01:00
src Issue #162 - fix for this while hopefully maintaining #111 fix. 2015-02-24 17:51:59 +01:00
test remove destructive drop-fonts-tags option from default 2015-02-19 19:17:13 +01:00
.gitignore .gitignore cleanup 2015-02-14 13:55:39 +08:00
CMakeLists.txt add small 'sample' API use, optional build 2015-02-07 15:33:13 +01:00
LICENSE.md Changed license to markdown. 2015-02-13 10:35:14 +08:00
README.md merge of develop-500 into master 2015-02-27 12:53:53 +01:00
version.txt bump version for #162 fix 2015-02-24 17:53:58 +01:00

HTML Tidy with HTML5 support

Prerequisites

  1. git - http://git-scm.com/book/en/v2/Getting-Started-Installing-Git

  2. cmake - http://www.cmake.org/download/

  3. appropriate build tools for the platform

CMake comes in two forms - command line and gui. Some installations only install one or the other, but sometimes both. The build commands below are only for the command line use.

Also the actual build tools vary for each platform. But that is one of the great features of cmake, it can generate variuous 'native' build files. Running cmake without any paramaters will list the generators available on that platform. For sure one of the common ones is "Unix Makefiles", which needs autotools make installed, but many other generators are supported.

In windows cmake offers various versions of MSVC. Again below only the command line use of MSVC is shown, but the tiyd solution (*.sln) file can be loaded into the MSVC IDE, and the building done in there.

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/OS X: make

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

History

This repository should be considered canonical for HTML Tidy as of 2015-January-15.