pub fn normalize_inline_whitespace<T: AsRef<str>>(text: T) -> String
Collapse repeated whitespace in-place while preserving single spaces. Collapse runs of whitespace into single spaces and trim.