pub fn encode_minimal_w<W>(s: &str, writer: &mut W) -> Result<(), Error> where
    W: Write
Expand description

HTML entity-encode a string to a writer.

Similar to encode_minimal, except that the output is written to a writer rather than returned as a String.

Arguments

  • s - The string to encode.
  • writer - Output is written to here.