Running a line like this produces a SQL error because the apostrophe in "isn't" isn't escaped in the string sent down to the DB, thus producting a syntax error.
db.insert("reasons", ["id", "title", "description"], [1, "Resource Unavailable", "The requested URL isn't available due to server down or HTTP 4xx errors"], group());
Escape single quotes in strings. Closes #50
still broken for me in mysql. it gets to the second quote and dies.
I think the problem is that you used the regular replace function, which only replaces once. you want to pass it a regex with /g on the end, like the second example here: http://www.w3schools.com/jsref/jsref_replace.asp
Fix for multiple single quotes in a string. #50