libhubbub

HTML parser library for parsing and manipulating HTML documents

brewmacoslinux
Try with needOr install directly
Source

About

HTML parser library

Commands

libhubbub

Examples

Parse an HTML file and output the document tree$ libhubbub-parse input.html
Validate HTML document structure$ libhubbub-validate document.html
Convert HTML to a normalized format$ libhubbub-convert -o output.html input.html