Might we have text along the lines of "foo\nbar" where we intentionally want line breaks.  Should we just replace spaces rather than all whitespace?