May 26, 2018
Library and program to validate and fix HTML
tidyp is a fork of tidy on SourceForge at http//tidy.sf.net. The library name is “tidyp”, and the command-line tool is also “tidyp” but all internal API stays the same.
tidyp will validate your HTML, and output cleaned-up HTML.