From 01e63d5b1a89a18613259073558a930d6ab74841 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Fri, 14 Jul 2017 03:59:13 -0500 Subject: [PATCH] Remove escaped single quote --- edit/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }); } }