From b4bfef14e2a881499b4fedb4eee5d8ccbb7c236a Mon Sep 17 00:00:00 2001 From: Yang Lin Date: Wed, 23 Nov 2016 02:41:11 +0800 Subject: [PATCH] fix issue 122 --- public/translate/cn/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/translate/cn/translate.js b/public/translate/cn/translate.js index 00064e4619..1e6aef4720 100644 --- a/public/translate/cn/translate.js +++ b/public/translate/cn/translate.js @@ -109,7 +109,7 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true'; function isPureEnglish(text) { // accept — , quotes, ® and façade too. text = text.replace('在线例子', ''); - return /^[\1-\255—’“”ç®…à]*$/.test(text); + return /^[\1-\255—’“”ç®…à\u200B]*$/.test(text); } function attributesToString(node) {