Function libdav::xmlutils::escape_text

source ยท
pub fn escape_text(raw: &str) -> Cow<'_, str>
Expand description

Replaces characters that need to be escaped in texts.

< โ€“> &lt; > โ€“> &gt; & โ€“> &amp;

This IS NOT usable in other contexts of XML encoding.