Tidy: Difference between revisions

New page: See Also Using Tidy with PHP == Syntax Checking and Cleanup with Tidy == Tidy is a command-line tool and library (with GUI interfaces available) that is also integrated into Quanta+ e...
 
fixes option syntax
Line 27: Line 27:
To really clean up content coming from Microsoft Word, try the following
To really clean up content coming from Microsoft Word, try the following
<source lang="bash">
<source lang="bash">
tidy -i -wrap 120 -bare -asxhtml -drop-empty-paras -drop-font-tags -drop-proprietary-attributes -word-2000 myfile.html
tidy -i -wrap 120 -bare -asxhtml --drop-empty-paras yes --drop-font-tags yes --drop-proprietary-attributes yes --word-2000 true myfile.html
</source>
</source>