Filter newline characters.