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