[][src]Function html5minify::minify

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

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.