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/core-js/internals/create-html.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/PAMapp/node_modules/core-js/internals/create-html.js b/PAMapp/node_modules/core-js/internals/create-html.js index 6a040db..110d0c5 100644 --- a/PAMapp/node_modules/core-js/internals/create-html.js +++ b/PAMapp/node_modules/core-js/internals/create-html.js @@ -1,13 +1,15 @@ +var uncurryThis = require('../internals/function-uncurry-this'); var requireObjectCoercible = require('../internals/require-object-coercible'); var toString = require('../internals/to-string'); var quot = /"/g; +var replace = uncurryThis(''.replace); // `CreateHTML` abstract operation // https://tc39.es/ecma262/#sec-createhtml module.exports = function (string, tag, attribute, value) { var S = toString(requireObjectCoercible(string)); var p1 = '<' + tag; - if (attribute !== '') p1 += ' ' + attribute + '="' + toString(value).replace(quot, '"') + '"'; + if (attribute !== '') p1 += ' ' + attribute + '="' + replace(toString(value), quot, '"') + '"'; return p1 + '>' + S + '</' + tag + '>'; }; -- Gitblit v1.8.0