From 80732c1536859d333ce808d6b2919e004cab95e8 Mon Sep 17 00:00:00 2001 From: nanohard Date: Mon, 10 Sep 2018 10:54:08 -0500 Subject: Allow &endash and &emdash. Closes #271. --- system/admin/static/common/js/util.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/system/admin/static/common/js/util.js b/system/admin/static/common/js/util.js index 8d5e74b..b126f2f 100644 --- a/system/admin/static/common/js/util.js +++ b/system/admin/static/common/js/util.js @@ -8,8 +8,6 @@ function replaceBadChars(text) { s = s.replace(/[\u201C\u201D\u201E]/g, "\""); // ellipsis s = s.replace(/\u2026/g, "..."); - // dashes - s = s.replace(/[\u2013\u2014]/g, "-"); // circumflex s = s.replace(/\u02C6/g, "^"); // open angle bracket -- cgit v1.2.3