diff --git a/edit/edit.js b/edit/edit.js index 9c4ac192..c607ad85 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -1073,7 +1073,7 @@ function updateLintReport(cm, delay) { } } function escapeHtml(html) { - const chars = {'&': '&', '<': '<', '>': '>', '"': '"', '\'': ''', '/': '/'}; + const chars = {'&': '&', '<': '<', '>': '>', '"': '"', "'": ''', '/': '/'}; return html.replace(/[&<>"'/]/g, function(char) { return chars[char]; }); } }