diff --git a/core/database.js b/core/database.js index 2717a545..0998f738 100644 --- a/core/database.js +++ b/core/database.js @@ -72,6 +72,8 @@ function sanatizeString(s) { case '"' : case '\'' : + return `${c}${c}`; + case '\\' : case '%' : return `\\${c}`;