pub fn normalize_whitespace(text: &str) -> String
Normalise all runs of whitespace in text to a single space.
text
Leading and trailing whitespace is also stripped.