clean up the textarea input by using stripslashes function
and replace "\r\n" to "\n".