Ignore newlines for task input checking