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.
<
โ> <
>
โ> >
&
โ> &
This IS NOT usable in other contexts of XML encoding.