From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:48:15 +0800
Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改

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

diff --git a/PAMapp/node_modules/string.prototype.trimstart/implementation.js b/PAMapp/node_modules/string.prototype.trimstart/implementation.js
index 862aa0f..882e711 100644
--- a/PAMapp/node_modules/string.prototype.trimstart/implementation.js
+++ b/PAMapp/node_modules/string.prototype.trimstart/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 startWhitespace = /^[\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 startWhitespace = 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 trimStart() {

--
Gitblit v1.8.0