diff options
author | Steve Manuel <nilslice@gmail.com> | 2018-09-10 14:55:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-10 14:55:57 -0600 |
commit | d86d77b3105dd801cfdfa7ba01c1cc891d3b696a (patch) | |
tree | d663d792ed14bb58af9f1c5cb249fbc72d1038e9 | |
parent | 6efa91347dc7e43e61f48d459925b81ae933732e (diff) | |
parent | 03b62d6d73aa39692e2e65a8a4e11f1c3d0911dc (diff) |
Merge pull request #275 from nanohard/fix/richtext-dash
Allow &endash and &emdash. Closes #271.
-rw-r--r-- | system/admin/static/common/js/util.js | 2 |
1 files changed, 0 insertions, 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 |