pub fn minify<R: Read, W: Write>(r: &mut R, w: &mut W) -> Result<()>
Expand description

Minifies the HTML input to the destination writer. Outputs HTML5; non-HTML5 input will be transformed to HTML5.

Errors

Will return Err if unable to read from the input reader or unable to write to the output writer.