Function pulldown_cmark::escape::escape_html
source · pub fn escape_html<W: StrWrite>(w: W, s: &str) -> Result<()>
Expand description
Writes the given string to the Write sink, replacing special HTML bytes (<, >, &, “) by escape sequences.