Ignore whitespace in history