using the CKEditor to enter post content, I get a string as output , with some escape sequences \r\n\t ... is there anyway to clean it before saving the post record to the db? any kind of html.clean method like the html_safe , or should I perform a gsub ?
thanks for feedback