Skip to main content

decode_escaped

Function decode_escaped 

Source
pub fn decode_escaped(text: &BytesText<'_>) -> String
Expand description

Decode a BytesText and resolve any XML entities it still contains.

Use this for spans produced by Reader::read_text, which returns the raw markup between the tags — entities in it are not pre-resolved.