[][src]Function htmlize::escape_text

pub fn escape_text<S: AsRef<[u8]>>(raw: S) -> String

Escape a string used in a text node, i.e. regular text.

Do not use this in attributes or comments.