80 /******/ // __webpack_public_path__ |
80 /******/ // __webpack_public_path__ |
81 /******/ __webpack_require__.p = ""; |
81 /******/ __webpack_require__.p = ""; |
82 /******/ |
82 /******/ |
83 /******/ |
83 /******/ |
84 /******/ // Load entry module and return exports |
84 /******/ // Load entry module and return exports |
85 /******/ return __webpack_require__(__webpack_require__.s = 422); |
85 /******/ return __webpack_require__(__webpack_require__.s = "1FHn"); |
86 /******/ }) |
86 /******/ }) |
87 /************************************************************************/ |
87 /************************************************************************/ |
88 /******/ ({ |
88 /******/ ({ |
89 |
89 |
90 /***/ 422: |
90 /***/ "1FHn": |
91 /***/ (function(module, __webpack_exports__, __webpack_require__) { |
91 /***/ (function(module, __webpack_exports__, __webpack_require__) { |
92 |
92 |
93 "use strict"; |
93 "use strict"; |
94 __webpack_require__.r(__webpack_exports__); |
94 __webpack_require__.r(__webpack_exports__); |
95 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "decodeEntities", function() { return decodeEntities; }); |
95 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "decodeEntities", function() { return decodeEntities; }); |
96 /** @type {HTMLTextAreaElement} */ |
96 /** @type {HTMLTextAreaElement} */ |
97 var _decodeTextArea; |
97 let _decodeTextArea; |
98 /** |
98 /** |
99 * Decodes the HTML entities from a given string. |
99 * Decodes the HTML entities from a given string. |
100 * |
100 * |
101 * @param {string} html String that contain HTML entities. |
101 * @param {string} html String that contain HTML entities. |
102 * |
102 * |
124 _decodeTextArea = document.createElement('textarea'); |
124 _decodeTextArea = document.createElement('textarea'); |
125 } |
125 } |
126 } |
126 } |
127 |
127 |
128 _decodeTextArea.innerHTML = html; |
128 _decodeTextArea.innerHTML = html; |
129 var decoded = _decodeTextArea.textContent; |
129 const decoded = _decodeTextArea.textContent; |
130 _decodeTextArea.innerHTML = ''; |
130 _decodeTextArea.innerHTML = ''; |
131 /** |
131 /** |
132 * Cast to string, HTMLTextAreaElement should always have `string` textContent. |
132 * Cast to string, HTMLTextAreaElement should always have `string` textContent. |
133 * |
133 * |
134 * > The `textContent` property of the `Node` interface represents the text content of the |
134 * > The `textContent` property of the `Node` interface represents the text content of the |