ws-tidy : Put a document into a correct XML format using WebSource::Parser
This script uses the WebSource::Parser module to put HTML documents (hopefully even badly formatted ones) into a correct XML format
To install WebSource, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebSource
CPAN shell
perl -MCPAN -e shell install WebSource
For more information on module installation, please visit the detailed CPAN module installation guide.