Function decode_html_entities_attribute

Source
pub fn decode_html_entities_attribute(
    data: &str,
) -> Result<String, DecodeErrKind>
Expand description

Decodes a string with HTML attribute entities.

ยงExamples

use nutek_encode_lib::encoder;
let decoded = encoder::decode_html_entities_attribute("hello &amp; world").unwrap();
assert_eq!(decoded, "hello & world");