pub fn encode_minimal_w<W: Write>(s: &str, writer: &mut W) -> Result<()>
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.