Skip to main content

normalize_alert_message

Function normalize_alert_message 

Source
pub fn normalize_alert_message(message: &str) -> String
Expand description

The sole alert-message normalizer: first line, trim, whitespace-run collapse, and NFC-style composition. It deliberately does not rewrite paths, numbers, or quotation marks.