pub fn onewhitespace(text: &str) -> String
Collapses runs of whitespace into a single space and trims ends.