added newline to the list of safe chars