Software > Internet / Hosting >
(on Wikipedia)
https://www.w3.org/People/Raggett/tidy/
http://tidy.sourceforge.net/
now http://www.html-tidy.org/
Tidies HTML and XML.
-
2010-10-06 - (version not recorded) on Unity Linux 64bit rc1.
- It's now in the software repository.
-
2010-04-25 - (version not recorded) on Unity Linux 64bit rc1.
2010-04-25 - (version not recorded) ∞
cvs -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy login # press enter cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy co -P tidy cd tidy/build/gmake make su smart install libxslt-proc make install
Notes from Compiled Website:
The executable, not the Ruby library.
I pass everything through HTML Tidy. It's actually extremely difficult to build everything from scratch and be compliant. There are a number of things I do which are clumsy right now. HTML Tidy is a cheat.
I build everything to be XHTML 1.0 strict.
The command I use is:
system( 'tidy', '-clean', '-quiet', '-omit', '-asxhtml', '-access', '-modify', '--drop-empty-paras', 'true', '--indent', 'true', '--indent-spaces', '2', '--keep-time', 'true', '--wrap', '0', '--force-output', 'true', '--show-errors', '0', '--show-warnings', 'false', '--break-before-br', 'true', '--tidy-mark', 'false', '--output-encoding', 'utf8', '--escape-cdata', 'false', '--indent-cdata', 'true', '--hide-comments', 'true', '--join-classes', 'true', '--join-styles', 'true', source_file_full_path )
For additional options, check out tidy -help-config
Last updated 2021-03-22 at 08:06:12