stripping whitespace in submitted content