HTML Tidy 2

|- index -|- download -|- end -|

Of course, you are encouraged to go to the official Tidy site on Sourceforge - there you will find all the latest source, patches, releases, and all information you need ... specifically, you should read the licence ... this is only a single, individual, frozen, view ... in the hope it helps others use, and aids the continued development of HTML Tidy.

Understanding 'inline' elements, and browser rendering:

Tidy not only tries to 'tidy' your HTML page, but also tries to apply 'fixes' that will retain the same browser rendering ... One test it was failing on was in 'fixing' the following, simple HTML snippet -

<b>Bold Only <i>Bold and Italic</b>Only Italic</i>

Most browsers would render this correctly, as it reads -

Bold Only Bold and Italic Only Italic

In running the 1 September 2005 binary release of Tidy, it would produce -

<b>Bold Only <i>Bold and Italic</i> Only Italic</b>

which is rendered in the browser as -

Bold Only Bold and Italic Only Italic

which is clearly not what the browser normally renders! I have provided a patch that changes this 'fix' to -

<b>Bold Only  <i>Bold and Italic</i></b> <i>Only Italic</i>

which should now be rendered as expected in a browser as -

Bold Only Bold and Italic Only Italic

If you want to try my 'development' version, you can either wait until my patch, or some other patch, is placed into the CVS source, if accepted by the 'Tidy' community, and compile your own, or perhaps wait for the next Tidy WIN32 binary release after that, but if you are really impatient, then you can download the following zip, which contains my tidydev2.exe, a WIN32 binary, for a trial ... Be warned about downloading and running binaries from the web, and to check it is my binary you can compare this zip to the following md5-sum -

download:
tidydev4.zip
MD5-sum:
025fd413d53a419e7ac94d617a470cd7
release:
14 February 2006
build:
19 February 2006

And here is the patch file, tidydev4-3.txt, using a WIN32 port of GNU diff program ... you should be able to use this to patch the CVS source ... and thus build your own version of Tidy ... the better way to go ... here again is the Sourceforge link ... Note, this patch contains a few other minor patch. It fixes the stderr output, such that you will not get 0x0d,0x0d,0x0a sequences in the redirection of stdout and stderr, and adds a test file, to test this particular feature ...

Happy tidying ...

index

To be able to create the above 'diff' file, or indeed 'patch' this diff file with your downloaded Tidy source, check out http://unxutils.sourceforge.net/ - there you should find some zip files containing ports of common GNU utilities to native Win32, like diff and patch ...

index

Older Versions:

download:
tidydev2.zip
MD5-sum:
e50bfe6b78b3abdf934429269c408ecf
release:
3 February 2006
build:
7 February 2006

This is the patch file, tidydev2.txt, using a WIN32 port of GNU diff program, against the 7 February anonymous cvs source.

top


checked by tidy  Valid HTML 4.01 Transitional