Prevent sending new line characters