wp/wp-includes/js/dist/escape-html.js
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    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 = 465);
    85 /******/ 	return __webpack_require__(__webpack_require__.s = "IsfW");
    86 /******/ })
    86 /******/ })
    87 /************************************************************************/
    87 /************************************************************************/
    88 /******/ ({
    88 /******/ ({
    89 
    89 
    90 /***/ 465:
    90 /***/ "IsfW":
    91 /***/ (function(module, __webpack_exports__, __webpack_require__) {
    91 /***/ (function(module, __webpack_exports__, __webpack_require__) {
    92 
    92 
    93 "use strict";
    93 "use strict";
    94 // ESM COMPAT FLAG
    94 // ESM COMPAT FLAG
    95 __webpack_require__.r(__webpack_exports__);
    95 __webpack_require__.r(__webpack_exports__);
   135  * @see https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
   135  * @see https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
   136  *
   136  *
   137  * @type {RegExp}
   137  * @type {RegExp}
   138  */
   138  */
   139 
   139 
   140 var REGEXP_INVALID_ATTRIBUTE_NAME = /[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;
   140 const REGEXP_INVALID_ATTRIBUTE_NAME = /[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;
   141 /**
   141 /**
   142  * Returns a string with ampersands escaped. Note that this is an imperfect
   142  * Returns a string with ampersands escaped. Note that this is an imperfect
   143  * implementation, where only ampersands which do not appear as a pattern of
   143  * implementation, where only ampersands which do not appear as a pattern of
   144  * named, decimal, or hexadecimal character references are escaped. Invalid
   144  * named, decimal, or hexadecimal character references are escaped. Invalid
   145  * named references (i.e. ambiguous ampersand) are are still permitted.
   145  * named references (i.e. ambiguous ampersand) are are still permitted.