2015-02-12 12:11:06 +00:00
|
|
|
# Important notice
|
|
|
|
|
|
|
|
Current development is taking place in the `develop-500` branch of this repository.
|
|
|
|
_This is a temporay measure_, and the plan is move all current activity back to
|
|
|
|
`Master` within a day or two (now=2015-02-12UTC+08:00).
|
|
|
|
|
2012-03-01 08:22:03 +00:00
|
|
|
# HTML Tidy for HTML5 (experimental)
|
2011-11-17 02:58:38 +00:00
|
|
|
|
2012-03-01 08:22:03 +00:00
|
|
|
This repo is an experimental fork of the code from [tidy.sourceforge.net][1].
|
|
|
|
This source code in this version supports processing of HTML5 documents. The
|
2012-03-15 02:15:11 +00:00
|
|
|
changes for HTML5 support started from a [patch developed by Björn Höhrmann][2].
|
2011-11-17 02:58:38 +00:00
|
|
|
|
|
|
|
[1]: http://tidy.sourceforge.net
|
|
|
|
|
|
|
|
[2]: http://lists.w3.org/Archives/Public/www-archive/2011Nov/0007.html
|
|
|
|
|
2012-03-15 02:52:28 +00:00
|
|
|
For more information, see [w3c.github.com/tidy-html5][3]
|
2012-03-15 02:49:03 +00:00
|
|
|
|
|
|
|
[3]: http://w3c.github.com/tidy-html5/
|
|
|
|
|
2012-03-27 15:41:17 +00:00
|
|
|
## 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.
|
2011-11-17 02:58:38 +00:00
|
|
|
|
|
|
|
1. `make -C build/gmake/`
|
|
|
|
|
2011-11-18 13:58:14 +00:00
|
|
|
2. `make install -C build/gmake/`
|
|
|
|
|
2012-03-15 02:15:11 +00:00
|
|
|
Note that you will either need to run `make install` as root, or with `sudo make
|
|
|
|
install`.
|
2011-11-17 02:58:38 +00:00
|
|
|
|
2012-03-27 15:41:17 +00:00
|
|
|
## 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.
|
|
|
|
|
2015-01-16 00:37:30 +00:00
|
|
|
1. `sh build/gnuauto/setup.sh && ./configure && make`
|
2012-03-27 15:41:17 +00:00
|
|
|
|
2015-01-16 00:37:30 +00:00
|
|
|
2. `make install`
|
2012-03-27 15:41:17 +00:00
|
|
|
|
|
|
|
Note that you will either need to run `make install` as root, or with `sudo make
|
|
|
|
install`.
|