pub fn decode_html_entities_to_vec<S: AsRef<str>>(
    text: S,
    output: &mut Vec<u8>
) -> &[u8]
Expand description

Decode html entities in a given string to a mutable Vec<u8> reference and return the decoded data slice.

Examples found in repository?
src/decode/html_entity/mod.rs (line 256)
255
256
257
pub fn decode_html_entities_to_string<S: AsRef<str>>(text: S, output: &mut String) -> &str {
    unsafe { from_utf8_unchecked(decode_html_entities_to_vec(text, output.as_mut_vec())) }
}