Introduced TY_(IsHTMLSpace)(uint c), which checks to see if c is one of the chars that the HTML spec (and browsers) treat as a space in attribute values: 0x020 (space), 0x009 (tab), 0x00a (LF), 0x00c (FF), or 0x00d (CF). Can't use ANSI C isspace(int c) here because like standard functions for many other langs, it also treats 0x00b as a space. |
||
---|---|---|
build | ||
console | ||
experimental | ||
htmldoc | ||
include | ||
src | ||
test | ||
html5-for-html-tidy.patch-2 | ||
Makefile | ||
README.html | ||
README.md |
Tidy for HTML5
This repo is a fork of the code from 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 *nix platforms, you can build and install from the source code using the following steps.
-
make -C build/gmake/
-
make install -C build/gmake/
Note that you will either need to run make install
as root, or with sudo make install
.