[][src]Function pulldown_cmark::escape::escape_html

pub fn escape_html<W: StrWrite>(w: W, s: &str) -> Result<()>

Writes the given string to the Write sink, replacing special HTML bytes (<, >, &, ") by escape sequences.