tagsoup(1) on Linux
The text 79b4685e058f, as Debian 6.0 (Squeeze), Debian 5.0 (Lenny) shipped it.
convert nasty, ugly HTML to clean XHTML
Flags it lists
-
--any -
--doctype-public -
--doctype-system -
--emptybogons -
--encoding -
--files -
--help -
--html -
--ignorable -
--lexical -
--method -
--nobogons -
--nocdata -
--nocolons -
--nodefaults -
--nons -
--norestart -
--norootbogons -
--omit-xml-declaration -
--output-encoding -
--pyx -
--pyxin -
--reuse -
--standalone -
--version