From ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:26:15 +0800
Subject: [PATCH] TODO#139888 嚴選配對 - 文案修改

---
 PAMapp/node_modules/string.prototype.trimend/implementation.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/PAMapp/node_modules/string.prototype.trimend/implementation.js b/PAMapp/node_modules/string.prototype.trimend/implementation.js
index a14a7fc..4628aba 100644
--- a/PAMapp/node_modules/string.prototype.trimend/implementation.js
+++ b/PAMapp/node_modules/string.prototype.trimend/implementation.js
@@ -3,8 +3,11 @@
 var callBound = require('call-bind/callBound');
 var $replace = callBound('String.prototype.replace');
 
+var mvsIsWS = (/^\s$/).test('\u180E');
 /* eslint-disable no-control-regex */
-var endWhitespace = /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]*$/;
+var endWhitespace = mvsIsWS
+	? /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/
+	: /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;
 /* eslint-enable no-control-regex */
 
 module.exports = function trimEnd() {

--
Gitblit v1.8.0