Crate prettyish_html[−][src]
prettyish-html
A “meh, good enough” HTML prettifier. The output can definitely be improved, but it’s fast and lightweight. It might become better in the future, just depends.
It assumes some level of well-formedness of the HTML, though it doesn’t do any form of validation either.
Usage
println!("{}", prettyish_html::prettify("<html><body>...</body></html>"));
Functions
prettify | Prettify HTML input |