make quoteIfContainsWhite more elegant