From e6315f3c6afac8374a523c7d18b4226d7309f9e8 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Sun, 4 Jan 2015 10:19:57 +0300 Subject: [PATCH] Fixed whitespace check helper --- lib/common/utils.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/common/utils.js b/lib/common/utils.js index 2f7b12b..9fee091 100644 --- a/lib/common/utils.js +++ b/lib/common/utils.js @@ -163,10 +163,8 @@ function isWhiteSpace(code) { case 0x0D: case 0x0C: case 0x20: - case 0x20: - case 0x20: - case 0x20: - case 0x200F: + case 0xA0: + case 0x1680: case 0x202F: case 0x205F: case 0x3000: