Skip to main content

Module html

Module html 

Source

Structs§

HeadParser
Incrementally parses an HTML stream, separating the <head> from the <body>. Feed chunks via HeadParser::feed until HeadParser::complete returns true, then call HeadParser::head and HeadParser::take_body.
TextFilter
Wraps plain-text chunks in <pre> / </pre> HTML.