Input is stripped immediately to fix issue with trailing whitespace