diff --git a/public/js/utils.js b/public/js/utils.js index e14a3b7..ec7c6b3 100644 --- a/public/js/utils.js +++ b/public/js/utils.js @@ -22,7 +22,7 @@ const U = { esc(s) { if (!s) return ''; - return String(s).replace(/&/g,'&').replace(//g,'>').replace(/"/g,'"'); + return String(s).replace(/&/g,'&').replace(//g,'>').replace(/"/g,'"').replace(/'/g,'''); }, showAlert(containerId, type, msg) {