Function html2text::from_read_rich [] [src]

pub fn from_read_rich<R>(input: R,
                         width: usize)
                         -> Vec<TaggedLine<Vec<RichAnnotation>>> where R: Read

Reads HTML from input, and returns text wrapped to width columns. The text is returned as a Vec<TaggedLine<_>>; the annotations are vectors of RichAnnotation. The "outer" annotation comes first in the Vec.