pub fn normalize_ws(s: &str) -> String
Collapse all whitespace runs (including newlines) into single spaces.