Strip newline off key