first commit
This commit is contained in:
1
modules/common/textencoding.js
Normal file
1
modules/common/textencoding.js
Normal file
@@ -0,0 +1 @@
|
||||
define(["exports"],function(_exports){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0;var tempDiv,doc="undefined"==typeof document?null:document;_exports.default={htmlEncode:function(value){var div=tempDiv;if(!div){if(!doc)return value;div=doc.createElement("div"),tempDiv=div}return div.textContent=value,div.innerHTML}}});
|
||||
Reference in New Issue
Block a user