Łukasz Kaczmarek 2022-04-25 10:21:00 +02:00
parent c641efbd0a
commit fb85dfbedc

@ -60,7 +60,7 @@ var unescapexml/*:StringConv*/ = /*#__PURE__*/(function() {
};
})();
var decregex=/[&<>'"]/g, charegex = /[\u0000-\u0008\u000b-\u001f]/g;
var decregex=/[&<>'"]/g, charegex = /[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;
function escapexml(text/*:string*/)/*:string*/{
var s = text + '';
return s.replace(decregex, function(y) { return rencoding[y]; }).replace(charegex,function(s) { return "_x" + ("000"+s.charCodeAt(0).toString(16)).slice(-4) + "_";});