[−][src]Function htmlentity::entity::decode
pub fn decode(content: &str) -> String
Decode a html code's entities into unicode characters, include the Decimal Hex Named.
Examples
use htmlentity::entity::*; let content = "<"; assert_eq!(decode("<"), content); assert_eq!(decode("<"), content); assert_eq!(decode("<"), content);