Skip to main content

decode_entities

Function decode_entities 

Source
fn decode_entities(text: &str) -> String
Expand description

Slack escapes &, < and > in message text. The angle-bracket entities decode first so a doubly-escaped &amp;lt; stays the literal it was.