restrict to single whitespace (like Medium)