pub fn clean_reason(raw: &str) -> StringExpand description
A caller’s reason, cleaned for the user to read (spec §3.11). Replaced
wholesale by REASON_HIDDEN when it trips the keyword list the jekt tier
gate and notification previews use; otherwise its first line, control and
bidi-override characters removed, whitespace collapsed, cut at
REASON_MAX. Markup is not interpreted here: the banner renders it as
text and a toast never carries it.